| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
PDFTEX = pdftex |
| 5 |
DVIPDFM = dvipdfmx |
| 6 |
TEXI2PDF = texi2dvi --pdf |
| 7 |
|
| 8 |
|
| 9 |
.PHONY: all pdftex dvipdfm dvips mostlyclean clean distclean maintainer-clean |
| 10 |
|
| 11 |
|
| 12 |
all: pdftex dvipdfm dvips |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
pdftex: xhyper.pdf lscommnt.pdf |
| 18 |
|
| 19 |
xhyper.pdf: xhyper.tex ctan_lion_350x350.png |
| 20 |
PDFLATEX=$(PDFTEX) $(TEXI2PDF) xhyper.tex |
| 21 |
|
| 22 |
lscommnt.pdf: lscommnt.tex |
| 23 |
PDFLATEX=$(PDFTEX) $(TEXI2PDF) lscommnt.tex |
| 24 |
|
| 25 |
ctan_lion_350x350.png: |
| 26 |
@echo "Please download" |
| 27 |
@echo " https://www.ctan.org/lion/files/ctan_lion_350x350.png" |
| 28 |
@echo "and place it in the demo subdirectory." |
| 29 |
exit 1 |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
dvipdfm: |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
dvips: |
| 40 |
|
| 41 |
|
| 42 |
clean mostlyclean: |
| 43 |
rm -f xhyper.{aux,log} lscommnt.log |
| 44 |
|
| 45 |
distclean: clean |
| 46 |
rm -f xhyper.pdf lscommnt.pdf |
| 47 |
|
| 48 |
maintainer-clean: distclean |