# $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