diff options
Diffstat (limited to 'macros/latex/contrib/nostarch/Makefile')
-rw-r--r-- | macros/latex/contrib/nostarch/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/macros/latex/contrib/nostarch/Makefile b/macros/latex/contrib/nostarch/Makefile index 5986ef659d..c4afc1b4b6 100644 --- a/macros/latex/contrib/nostarch/Makefile +++ b/macros/latex/contrib/nostarch/Makefile @@ -3,7 +3,7 @@ # # This file is in public domain # -# $Id: Makefile,v 1.6 2008-05-25 18:06:28 boris Exp $ +# $Id$ # PACKAGE=nostarch @@ -17,28 +17,28 @@ all: ${PDF} %.pdf: %.dtx $(PACKAGE).cls - pdflatex $< + xelatex $< - bibtex $* - pdflatex $< + xelatex $< - makeindex -s gind.ist -o $*.ind $*.idx - makeindex -s gglo.ist -o $*.gls $*.glo - pdflatex $< + xelatex $< while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ - do pdflatex $<; done + do xelatex $<; done %.cls: %.ins %.dtx - pdflatex $< + xelatex $< %.pdf: %.tex $(PACKAGE).cls - pdflatex $< + xelatex $< - bibtex $* - makeindex -s $(PACKAGE).ist -o $*.ind $*.idx - pdflatex $< - pdflatex $< + xelatex $< + xelatex $< - makeindex -s $(PACKAGE).ist -o $*.ind $*.idx while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ - do pdflatex $<; done + do xelatex $<; done @@ -47,7 +47,7 @@ all: ${PDF} clean: $(RM) $(PACKAGE).cls *.log *.aux \ - *.glo *.idx *.toc *.tbc \ + *.glo *.idx *.toc *.tbc *.hd \ *.ilg *.ind *.out *.lof \ *.lot *.bbl *.blg *.gls *.sty *.ist \ *.dvi *.ps *.thm *.tgz *.zip @@ -59,10 +59,9 @@ distclean: clean # Archive for the distribution. Includes typeset documentation # archive: all clean - tar -czvf $(PACKAGE).tgz --exclude 'debug*' \ - --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS . + COPYFILE_DISABLE=1 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 'debug*' -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*'
\ No newline at end of file + -x 'debug*' -x '*~' -x '*.tgz' -x '*.zip' -x .git* -x '.git/*' |