summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-06 23:26:05 +0000
committerKarl Berry <karl@freefriends.org>2014-02-06 23:26:05 +0000
commit7be84a697eb5391a0974c23fc8dc82413a8c7631 (patch)
treebde01acffaa9d0c79476cc85d8d54575de0d357f /Master/texmf-dist/source
parentb732a2d946192bbf5a35db2263ac19a974697af3 (diff)
pst-func (4feb14)
git-svn-id: svn://tug.org/texlive/trunk@32892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/generic/pst-func/Makefile87
1 files changed, 87 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pst-func/Makefile b/Master/texmf-dist/source/generic/pst-func/Makefile
new file mode 100644
index 00000000000..ef1ca6da6f8
--- /dev/null
+++ b/Master/texmf-dist/source/generic/pst-func/Makefile
@@ -0,0 +1,87 @@
+# `Makefile' for `pst-func.pdf', hv, 2006/08/11
+
+.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
+
+PACKAGE = pst-func
+
+MAIN = $(PACKAGE)-doc
+
+LATEX = latex
+
+ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
+
+ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
+
+TDS = ~/PSTricks/PSTricks-TDS
+
+all : doc clean tds ctan
+doc: $(MAIN).pdf
+
+$(MAIN).pdf : $(MAIN).ps
+ GS_OPTIONS="-dAutoRotatePages=/None -dNOSAFER" ps2pdf $<
+
+$(MAIN).ps : $(MAIN).dvi
+ dvips $<
+
+$(MAIN).dvi : $(MAIN).tex
+ $(LATEX) $<
+ $(LATEX) $<
+ if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
+ if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
+ makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \
+ $(basename $<).glo
+ makeindex -s pst-doc.ist -t $(basename $<).ilg -o $(basename $<).ind \
+ $(basename $<).idx
+ bibtex $(basename $<)
+ $(LATEX) $<
+ $(LATEX) $<
+
+clean :
+ $(RM) $(addprefix $(MAIN), .log .aux .bbl .blg .glg .glo .gls .ilg .idx .ind .tmp .toc .out )
+ $(RM) $(addprefix $(MAIN), .dvi .ps .xcp)
+
+veryclean : clean
+ $(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+tds:
+ cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/
+ cp -u README $(TDS)/doc/generic/$(PACKAGE)/
+ cp -u $(MAIN).pdf $(TDS)/doc/generic/$(PACKAGE)/
+#
+ cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/
+ cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/
+#
+ cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/
+ cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/
+#
+ cp -u Changes $(TDS)/dvips/$(PACKAGE)/
+ cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/
+ cp -u $(PACKAGE).pro ~/Links/dvips-local/
+#
+ cp -u Changes $(TDS)/source/$(PACKAGE)/
+ cp -u $(MAIN).tex $(TDS)/source/$(PACKAGE)/
+ cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/
+ cp -u Makefile $(TDS)/source/$(PACKAGE)/
+
+ctan:
+ rm -f .ctan/$(PACKAGE)/latex/*
+ cp -u *.sty .ctan/$(PACKAGE)/latex/
+# cp -u *.cfg .ctan/$(PACKAGE)/latex/
+ rm -f .ctan/$(PACKAGE)/tex/*
+ cp -u $(PACKAGE).tex .ctan/$(PACKAGE)/tex/
+# cp -u $(PACKAGE)97.tex .ctan/$(PACKAGE)/tex/
+ cp -u *.pro .ctan/$(PACKAGE)/dvips/
+# cp -u more_docs/psmatrix* .ctan/$(PACKAGE)/doc/
+ rm -f .ctan/$(PACKAGE)/doc/*
+ cp -u $(PACKAGE)-doc.* .ctan/$(PACKAGE)/doc/
+# cp -u more_docs/* .ctan/$(PACKAGE)/doc/
+# rm -fr .ctan/$(PACKAGE)/.svn
+ cp -u Changes .ctan/$(PACKAGE)/
+ cp -u README .ctan/$(PACKAGE)/
+ chmod -R a+r .ctan/$(PACKAGE)
+
+
+# EOF