summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/apxproof/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/apxproof/examples/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/apxproof/examples/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/apxproof/examples/Makefile b/Master/texmf-dist/doc/latex/apxproof/examples/Makefile
new file mode 100644
index 00000000000..d37f4179e71
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/apxproof/examples/Makefile
@@ -0,0 +1,12 @@
+TARGET = $(foreach dir, $(wildcard */), $(dir)/test.pdf)
+
+all: $(TARGET)
+
+clean:
+ rm */*.aux */*.blg */*.bbl */*.axp */*.fls */*.fdb* */*.log */*.out
+
+%.pdf: %.tex ../apxproof.sty common.tex common.bib
+ cd $(dir $@) && \
+ latexmk -c && \
+ latexmk test ; \
+ cd ..