diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-11 22:05:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-11 22:05:43 +0000 |
commit | d99fe4006ba9110ddc1f87e8e9b10c085ac51da6 (patch) | |
tree | 49a933089046a4dd99be9cfd8386cb30025885d9 /Master/texmf-dist/source/latex/fitbox/Makefile | |
parent | 48975ec7f19deae0658421bccce2ab9617e6a5e7 (diff) |
fitbox (11feb19)
git-svn-id: svn://tug.org/texlive/trunk@50005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fitbox/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/fitbox/Makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fitbox/Makefile b/Master/texmf-dist/source/latex/fitbox/Makefile new file mode 100644 index 00000000000..980068232b3 --- /dev/null +++ b/Master/texmf-dist/source/latex/fitbox/Makefile @@ -0,0 +1,61 @@ +# +# +# This file is in public domain +# +# $Id$ +# + +PACKAGE=fitbox +SAMPLES = sample.tex + +all: $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf} + +%.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 + + + + +%.sty: %.ins %.dtx + pdflatex $< + +%.pdf: %.tex $(PACKAGE).sty + pdflatex $* + -bibtex $* + pdflatex $* + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do pdflatex $*; done + + +.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).sty + + +clean: + $(RM) $(PACKAGE).sty *.log *.aux \ + *.cfg *.glo *.idx *.toc \ + *.ilg *.ind *.out *.lof \ + *.lot *.bbl *.blg *.gls *.hd \ + *.dvi *.ps *.tgz *.zip *.brf + +veryclean: clean + $(RM) $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf} + +distclean: veryclean + +# +# 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 --exclude '.git*' $(PACKAGE); mv ../$(PACKAGE).tgz . + +zip: all clean + ${MAKE} $(PACKAGE).sty + $(RM) *.log + zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*' |