diff options
author | Karl Berry <karl@freefriends.org> | 2020-08-13 21:31:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-08-13 21:31:41 +0000 |
commit | b49945b30a6ab91e2a224bfe64f5a1f10016416d (patch) | |
tree | 3a3e3da0ef5619168ca5d1f3fff7a9d5f9df3ab7 /Master/texmf-dist/source/latex/aomart/Makefile | |
parent | 1e8dd364b60217632c6c999d2d5afcb6867203c6 (diff) |
aomart (13aug20)
git-svn-id: svn://tug.org/texlive/trunk@56102 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/aomart/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/aomart/Makefile | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/Makefile b/Master/texmf-dist/source/latex/aomart/Makefile new file mode 100644 index 00000000000..a32946042f1 --- /dev/null +++ b/Master/texmf-dist/source/latex/aomart/Makefile @@ -0,0 +1,69 @@ +# +# Makefile for aomart package +# +# This file is in public domain +# +# $Id: Makefile,v 1.7 2017/12/14 03:25:19 boris Exp $ +# + +PACKAGE=aomart + +SAMPLES = \ + aomsample.tex\ + aomsample1.tex \ + aomfrench.tex + +PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf} + +all: ${PDF} + + +%.pdf: %.dtx $(PACKAGE).cls + pdflatex $< + - bibtex $* + pdflatex $< + - makeindex -s gind.ist -o $*.ind $*.idx + - makeindex -s gglo.ist -o $*.gls $*.glo + pdflatex $< + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do pdflatex $<; done + + +%.cls: %.ins %.dtx + pdflatex $< + +%.pdf: %.tex $(PACKAGE).cls + pdflatex $< + - bibtex $* + pdflatex $< + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do pdflatex $<; done + +aomsample1.tex: fullref.pl aomsample.tex + perl fullref.pl aomsample.tex > aomsample1.tex + + +.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).cls + + +clean: + $(RM) $(PACKAGE).cls *.log *.aux \ + *.cfg *.glo *.idx *.toc \ + *.ilg *.ind *.out *.lof \ + *.lot *.bbl *.blg *.gls \ + *.dvi *.ps *.thm *.tgz *.zip *.rpi + +distclean: clean + $(RM) $(PDF) aomsample1.tex + +# +# Archive for the distribution. Includes typeset documentation +# +archive: all clean + COPYFILE_DISABLE=1 \ + tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' \ + --exclude '*.tgz' --exclude '*.zip' --exclude CVS $(PACKAGE) + mv ../$(PACKAGE).tgz . + +zip: all clean + zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*' |