summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/eplain/demo/Makefile
blob: dd8a4eaa61d8dd8e50a19051d6406e4fb3338c89 (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
48
# $Id: Makefile 52 2020-09-19 21:03:24Z karl $
# 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 "  https://www.ctan.org/lion/files/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