diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-16 22:55:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-16 22:55:14 +0000 |
commit | 6e963aa4445a7e0e8549406ccd3932e364cb8d92 (patch) | |
tree | 0d566d831939243c72a409c8d72c37cdf57a7bf7 /Master/texmf-dist/doc/latex/multibibliography/Makefile | |
parent | c83d63f6fbac0f31d4f72cdaa6cd11786d6f5c03 (diff) |
multibibliography (16may13)
git-svn-id: svn://tug.org/texlive/trunk@30511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/multibibliography/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/multibibliography/Makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/multibibliography/Makefile b/Master/texmf-dist/doc/latex/multibibliography/Makefile new file mode 100644 index 00000000000..f5f0c725dbc --- /dev/null +++ b/Master/texmf-dist/doc/latex/multibibliography/Makefile @@ -0,0 +1,63 @@ +# +# Makefile for multibibliography package +# +# This file is in public domain +# +# $Id: Makefile,v 1.3 2013-03-26 22:58:39 boris Exp $ +# + +PACKAGE=multibibliography +SAMPLES = tug-paper.tex + +all: $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf} + chmod a+x multibibliography.pl + +%.pdf: %.dtx $(PACKAGE).sty + 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 + + +%.pdf: %.tex $(PACKAGE).sty multibibliography.pl + pdflatex $< + - perl multibibliography.pl $< + pdflatex $< + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do pdflatex $<; done + + +%.sty: %.ins %.dtx + pdflatex $< + + + +.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).sty + + +clean: + $(RM) $(PACKAGE).sty *.log *.aux \ + *.cfg *.glo *.idx *.toc \ + *.ilg *.ind *.out *.lof \ + *.lot *.bbl *.blg *.gls \ + *.dvi *.ps *.tgz *.zip *.brf + +veryclean: clean + $(RM) *.pdf + +distclean: veryclean + +# +# Archive for the distribution. Includes typeset documentation +# +archive: all clean + tar -czvf $(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude CVS . + +zip: all clean + ${MAKE} $(PACKAGE).sty + $(RM) *.log + zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*'
\ No newline at end of file |