diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/graphviz/test/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/graphviz/test/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/graphviz/test/Makefile b/Master/texmf-dist/doc/latex/graphviz/test/Makefile new file mode 100644 index 00000000000..5253fffd00f --- /dev/null +++ b/Master/texmf-dist/doc/latex/graphviz/test/Makefile @@ -0,0 +1,40 @@ +.PHONY: all clean clobber + +TPDF = $(shell find . -maxdepth 1 -type f -name 'pdf*.tex' | sort) +TPS = $(shell find . -maxdepth 1 -type f -name 'ps*.tex' | sort) +PS = $(TPS:.tex=.ps) +PDF = $(TPDF:.tex=.pdf) + + +all: $(PS) $(PDF) + +%.pdf: %.tex + pdflatex -shell-escape $< + pdflatex -shell-escape $< + +%.dvi: %.tex + latex -shell-escape $< + latex -shell-escape $< + +%.ps: %.dvi + dvips $< + +clean: + rm -rf ./tmp + rm -f master.gvpr + rm -f master.graphviz + rm -f *~ + rm -f *.dot + rm -f *.ps + rm -f *.pdf + rm -f *.aux + rm -f *.glo + rm -f *.gls + rm -f *.idx + rm -f *.ilg + rm -f *.log + rm -f *.dvi + +clobber: clean + rm -f $(PS) + rm -f $(PDF) |