summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/apxproof/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/apxproof/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/apxproof/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/apxproof/Makefile b/Master/texmf-dist/source/latex/apxproof/Makefile
new file mode 100644
index 00000000000..d24336a7d7c
--- /dev/null
+++ b/Master/texmf-dist/source/latex/apxproof/Makefile
@@ -0,0 +1,20 @@
+all: apxproof.pdf apxproof.sty
+
+clean:
+ -rm -f *.aux *.log *.gl? *.idx *.ilg *.fls *.ind *.axp *.bbl *.blg *.hd *.out
+
+ctan:
+ git archive --format zip master --prefix=apxproof/ --output apxproof.zip
+
+%.pdf: %.dtx %.sty
+ pdflatex $<
+ makeindex -s gind.ist $(patsubst %.pdf,%.idx,$@)
+ makeindex -s gglo.ist -o $(patsubst %.pdf,%.gls,$@) $(patsubst %.pdf,%.glo,$@)
+ bibtex $(patsubst %.pdf,%,$@)
+ bibtex bu1
+ pdflatex $<
+ pdflatex $<
+
+%.sty: %.ins %.dtx
+ -rm $@
+ latex $<