]> git.donarmstrong.com Git - lib.git/blobdiff - texmf/tex/latex/pst-pdgr/Makefile
add pst-pdr
[lib.git] / texmf / tex / latex / pst-pdgr / Makefile
diff --git a/texmf/tex/latex/pst-pdgr/Makefile b/texmf/tex/latex/pst-pdgr/Makefile
new file mode 100644 (file)
index 0000000..9717ba3
--- /dev/null
@@ -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 .