summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/acmart/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-15 22:09:32 +0000
committerKarl Berry <karl@freefriends.org>2017-02-15 22:09:32 +0000
commite546ad01a2bf102f02e32ad5117a44644a3aea8b (patch)
tree3fbff65d907a5fd90038a7dd84c353f10746d457 /Master/texmf-dist/doc/latex/acmart/Makefile
parente213d403148adf7d265cf0c8bc1ddf0e8acd8a87 (diff)
acmart (15feb17)
git-svn-id: svn://tug.org/texlive/trunk@43232 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/acmart/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/acmart/Makefile11
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/*'