summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/eplain/demo/Makefile
blob: 7a578663f3896123e77ac2cabd60b6e0297fe767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Makefile for the Eplain demos.  This file is public domain.

PDFTEX          = pdftex
DVIPDFM         = dvipdfmx
TEXI2PDF        = texi2dvi --pdf


.PHONY: all pdftex dvipdfm dvips mostlyclean clean distclean maintainer-clean


all: pdftex dvipdfm dvips

#
# Documents which have to be processed with pdfTeX.
#
pdftex: xhyper.pdf lscommnt.pdf

xhyper.pdf: xhyper.tex ctan_lion_350x350.png
	PDFLATEX=$(PDFTEX) $(TEXI2PDF) xhyper.tex

lscommnt.pdf: lscommnt.tex
	PDFLATEX=$(PDFTEX) $(TEXI2PDF) lscommnt.tex

ctan_lion_350x350.png:
	@echo "Please download"
	@echo "  ftp://tug.ctan.org/ftpmaint/CTAN_lion/ctan_lion_350x350.png"
	@echo "and place it in the demo subdirectory."
	exit 1

#
# Documents which have to be processed with dvipdfm(x).
#
dvipdfm:

#
# Documents which have to be processed with dvips.
#
dvips:


clean mostlyclean:
	rm -f xhyper.{aux,log} lscommnt.log

distclean: clean
	rm -f xhyper.pdf lscommnt.pdf

maintainer-clean: distclean