diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/pst-pdgr/Makefile')
-rw-r--r-- | Master/texmf-dist/source/generic/pst-pdgr/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pst-pdgr/Makefile b/Master/texmf-dist/source/generic/pst-pdgr/Makefile new file mode 100644 index 00000000000..9717ba35c2e --- /dev/null +++ b/Master/texmf-dist/source/generic/pst-pdgr/Makefile @@ -0,0 +1,54 @@ +# +# Makefile for pst-pdgr package +# +# This file is in public domain +# +# $Id: Makefile,v 1.10 2006/05/17 16:27:18 boris Exp $ +# + +PACKAGE=pst-pdgr + +all: $(PACKAGE).pdf + +%.pdf: %.ps + ps2pdf -sAutoRotatePages=None $< + +%.ps: %.dvi + dvips -Ppdf -o $@ $< + +%.dvi: %.dtx $(PACKAGE).sty $(PACKAGE).tex + latex $< + - bibtex $* + latex $< + - makeindex -s gind.ist -o $*.ind $*.idx + - makeindex -s gglo.ist -o $*.gls $*.glo + latex $< + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do latex $<; done + + +%.sty: %.ins %.dtx + latex $< + + +%.tex: %.ins %.dtx + latex $< + +.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).tex $(PACKAGE).sty + + +clean: + $(RM) $(PACKAGE).tex $(PACKAGE).sty $(PACKAGE).log $(PACKAGE).aux \ + $(PACKAGE).cfg $(PACKAGE).glo $(PACKAGE).idx $(PACKAGE).toc \ + $(PACKAGE).ilg $(PACKAGE).ind $(PACKAGE).out $(PACKAGE).lof \ + $(PACKAGE).lot $(PACKAGE).bbl $(PACKAGE).blg $(PACKAGE).gls \ + $(PACKAGE).dvi $(PACKAGE).ps + +veryclean: clean + $(RM) $(PACKAGE).pdf + +# +# Archive for the distribution. Includes typeset documentation +# +archive: all clean + tar -czvf pst-pdgr.tgz --exclude '*~' --exclude '*.tgz' --exclude CVS . |