From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/mathcommand/makefile | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 macros/latex/contrib/mathcommand/makefile (limited to 'macros/latex/contrib/mathcommand/makefile') diff --git a/macros/latex/contrib/mathcommand/makefile b/macros/latex/contrib/mathcommand/makefile new file mode 100644 index 0000000000..0e802f1fad --- /dev/null +++ b/macros/latex/contrib/mathcommand/makefile @@ -0,0 +1,49 @@ +help: + @echo "This is the makefile for the mathcommand package" + @echo "- all: produces mathcommand.pdf mathcommand.sty mathcommand-code.pdf README.md" + @echo "- clean" + @echo "- ctan: creates the mathcommand-ctan.zip file tailored for CTAN" + +all: mathcommand.sty mathcommand.pdf README.md + +mathcommand.sty: mathcommand.dtx mathcommand.ins + latex mathcommand.ins + +README.md: mathcommand.dtx mathcommand.ins + latex mathcommand.ins + +clean: + rm -f *.aux *.glo *.idx *.aux *.synctex.gz *.out *.toc *.kaux *.diagnose *.log + rm -f *.bbl *.out *.bbl *.ind *.ilg *.idx + rm -f mathcommand.sty + rm -f mathcommand.pdf + rm -f mathcommand-sources-complete.zip + rm -f mathcommand-ctan.zip + rm -f README.md + +ctan: mathcommand-ctan.zip + +mathcommand.pdf: mathcommand.dtx mathcommand.sty + pdflatex mathcommand.dtx + pdflatex mathcommand.dtx + pdflatex mathcommand.dtx + +mathcommand.aux: mathcommand.dtx mathcommand.sty + pdflatex mathcommand.dtx + +sources: clean mathcommand-ctan.zip mathcommand-sources-complete.zip + +mathcommand-sources-complete.zip: clean + \rm -f mathcommand-sources-complete.zip + cp mathcommand-sources-complete.zip ../mathcommand-sources-complete-`date +%y-%m-%d_%H:%M`.zip + +mathcommand-ctan.zip: mathcommand.pdf mathcommand.sty mathcommand.ins README.md makefile + rm -f mathcommand-ctan.zip + rm -rf mathcommand + mkdir mathcommand + cp mathcommand.pdf mathcommand/ + cp mathcommand.dtx mathcommand/ + cp makefile mathcommand.ins README.md mathcommand/ + zip mathcommand-ctan.zip mathcommand/* + rm -rf mathcommand + -- cgit v1.2.3