diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Makefile | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Makefile b/Master/texmf-dist/doc/generic/pstricks/Makefile new file mode 100644 index 00000000000..0b4f5519d33 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/Makefile @@ -0,0 +1,95 @@ +# `Makefile' for `pst-news.pdf', hv, 2007/03/17 + +.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps + +PACKAGE = pst-news$(shell date +%y) + +MAIN = $(PACKAGE) + +BASE = pstricks-base + +TDSBASE = pstricks + +LATEX = latex + +TDS = ~/PSTricks/PSTricks-TDS + +ARCHNAME = $(MAIN)-$(shell date +%y%m%d) + +ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile + +all : doc clean +doc: $(MAIN).pdf + +$(MAIN).pdf : $(MAIN).ps + GS_OPTIONS=-dAutoRotatePages=/None 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 -t $(basename $<).ilg -o $(basename $<).ind \ + $(basename $<).idx + biber $(basename $<) + $(LATEX) $< + $(LATEX) $< + +clean : + $(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl ) + $(RM) $(addprefix $(MAIN), .dvi .ps .bcf .run.xml) + +veryclean : clean + $(RM) $(addprefix $(MAIN), .pdf .bbl .blg) + +arch : + zip $(ARCHNAME).zip $(ARCHFILES) + +tds: +#################### base ######################### + cp -u ../config/* ../.base/$(BASE)/config/ +# + cp -u ../Changes ../.base/$(BASE)/ + cp -u pst-doc.* ../.base/$(BASE)/doc/ + cp -u PSTricks.bib* ../.base/$(BASE)/doc/ + cp -u pst-news* ../.base/$(BASE)/doc/ + cp -u pst-user* ../.base/$(BASE)/doc/ + cp -u *.sty ../.base/$(BASE)/doc/ + cp -u pstricks-* ../.base/$(BASE)/doc/ + cp -u test* ../.base/$(BASE)/doc/ + cp -u images/* ../.base/$(BASE)/doc/images/ +# + cp -u ../dvips/* ../.base/$(BASE)/dvips/ + cp -u ../generic/* ../.base/$(BASE)/generic/ + cp -u ../latex/* ../.base/$(BASE)/latex/ + cp -u ../README ../.base/$(BASE)/ +# +#################### TDS ######################### + cp -u ../Changes $(TDS)/doc/generic/$(TDSBASE)/ +# cp -u README $(TDS)/doc/generic/$(TDSBASE)/ + cp -u $(MAIN).pdf $(TDS)/doc/generic/$(TDSBASE)/ +# +# cp -u ../latex/Changes $(TDS)/tex/latex/$(TDSBASE)/ + cp -u ../latex/* $(TDS)/tex/latex/$(TDSBASE)/ +# +# cp -u ../generic/Changes $(TDS)/tex/generic/$(TDSBASE)/ + cp -u ../generic/* $(TDS)/tex/generic/$(TDSBASE)/ +# +# cp -u ../dvips/Changes $(TDS)/dvips/$(TDSBASE)/ +# cp -u ../dvips/$(BASE).pro $(TDS)/dvips/$(TDSBASE)/ +# cp -u ../dvips/$(BASE)97.pro $(TDS)/dvips/$(TDSBASE)/ + cp -u ../dvips/*.pro $(TDS)/dvips/$(TDSBASE)/ +# +# cp -u Changes $(TDS)/source/$(TDSBASE)/ + cp -u $(MAIN).tex $(TDS)/source/$(TDSBASE)/ +# cp -u $(MAIN).bib $(TDS)/source/$(TDSBASE)/ + cp -u Makefile $(TDS)/source/$(TDSBASE)/ + + cp -u ../dvips/*.pro ~/Links/dvips-local/ + +# EOF |