diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/acmart/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/acmart/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/acmart/Makefile b/Master/texmf-dist/doc/latex/acmart/Makefile index 390cd4b01ad..efddea4fa02 100644 --- a/Master/texmf-dist/doc/latex/acmart/Makefile +++ b/Master/texmf-dist/doc/latex/acmart/Makefile @@ -20,7 +20,7 @@ SAMPLES = \ sample-sigchi-a.tex -PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf} +PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf} acmguide.pdf all: ${PDF} @@ -36,6 +36,13 @@ all: ${PDF} do pdflatex $<; done +acmguide.pdf: $(PACKAGE).dtx $(PACKAGE).cls + pdflatex -jobname acmguide $(PACKAGE).dtx + - bibtex acmguide + pdflatex -jobname acmguide $(PACKAGE).dtx + while ( grep -q '^LaTeX Warning: Label(s) may have changed' acmguide.log) \ + do pdflatex -jobname acmguide $(PACKAGE).dtx; done + %.cls: %.ins %.dtx pdflatex $< @@ -75,7 +82,7 @@ distclean: clean # Archive for the distribution. Includes typeset documentation # archive: all clean - tar -C .. -czvf $(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS --exclude '.git*' $(PACKAGE) + tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS --exclude '.git*' $(PACKAGE); mv ../$(PACKAGE).tgz . zip: all clean zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*' |