summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/bibtex/bestpapers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/bibtex/bestpapers/Makefile')
-rw-r--r--Master/texmf-dist/doc/bibtex/bestpapers/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/bibtex/bestpapers/Makefile b/Master/texmf-dist/doc/bibtex/bestpapers/Makefile
new file mode 100644
index 00000000000..23f39b480de
--- /dev/null
+++ b/Master/texmf-dist/doc/bibtex/bestpapers/Makefile
@@ -0,0 +1,35 @@
+PACKAGE = bestpapers
+
+TEX = bestpapers-guide.tex
+
+PDF = ${TEX:%.tex=%.pdf}
+
+all: ${PDF}
+
+%.pdf: %.tex bestpapers.bst tex.bib
+ pdflatex $*
+ - bibtex tex
+ - bibtex typography
+ pdflatex $*
+ pdflatex $*
+ while ( grep -q 'may have changed' $*.log) \
+ do pdflatex $<; done
+
+clean:
+ $(RM) *.log *.aux \
+ *.cfg *.glo *.idx *.toc \
+ *.ilg *.ind *.out *.lof \
+ *.lot *.bbl *.blg *.gls \
+ *.dvi *.ps *.thm *.tgz *.zip
+
+distclean: clean
+ $(RM) $(PDF)
+
+archive: all clean
+ cd ..; \
+ tar -czvf $(PACKAGE)/$(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS $(PACKAGE); \
+ cd $(PACKAGE)
+
+zip: all clean
+ cd ..; $(RM) $(PACKAGE).zip; \
+ zip -r $(PACKAGE).zip $(PACKAGE)/* -x '*~' -x '*.tgz' -x '*.zip' -x '*CVS*' \ No newline at end of file