diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/pstricks/Makefile')
-rw-r--r-- | Master/texmf-dist/source/generic/pstricks/Makefile | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pstricks/Makefile b/Master/texmf-dist/source/generic/pstricks/Makefile new file mode 100644 index 00000000000..ce772c9e8cd --- /dev/null +++ b/Master/texmf-dist/source/generic/pstricks/Makefile @@ -0,0 +1,97 @@ + +# Rolf Niepraschk, niepraschk@ptb.de, 2003-02-23 + +.SUFFIXES : .tex .dvi .ps .pdf .eps + +MAIN = pst-user + +# D.G. modification begin - Feb. 28, 2003 +#LATEX = elatex +LATEX = latex +# D.G. modification end +PDFLATEX = pdfelatex +PS2PDF = ps2pdf + +# D.G. modification begin - Feb. 28, 2003 +PS2PDF_OPT1 = -sPAPERSIZE=letter +#PS2PDF_OPT1 = -sPAPERSIZE=a4 +# D.G. modification end +PS2PDF_OPT2 = -sPAPERSIZE=letter + +DVIPSFLAGS1 = -Ppdf -G0 +DVIPSFLAGS2 = -Pwww -E +#GSOPT = GS_OPTIONS=-dAutoRotatePages=/None +GSOPT = GS_OPTIONS=-dPDFSETTINGS=/prepress + +PICS := $(PICS:.eps=.pdf) + +# D.G. modification begin - Mar. 7, 2003 +#ADDINPUTS = pst-user.cls defaults.pst +ADDINPUTS = pst-user.cls defaults.pst \ + psd-cove.tex psd-esse.tex psd-basi.tex psd-para.tex psd-cust.tex \ + psd-pict.tex psd-text.tex psd-node.tex psd-tree.tex psd-fill.tex \ + psd-3d.tex psd-spec.tex psd-help.tex +# D.G. modification end + +ARCHNAME = $(MAIN)-$(shell date +%y%m%d).zip + +# D.G. modification begin - Mar. 7, 2003 +TARNAME = $(MAIN)-$(shell date +%y%m%d).tar +# D.G. modification end + +# D.G. modification begin - Feb. 28, 2003 +#all : $(MAIN).pdf $(MAIN)-old.pdf +all : $(MAIN).pdf +# D.G. modification end + + +$(MAIN).dvi : $(MAIN).tex $(ADDINPUTS) + $(LATEX) $< +# D.G. modification begin - Feb. 28, 2003 +# makeindex -t $(basename $<).ilg $(basename $<) +# D.G. modification end + makeindex -t $(basename $<).ilg -s pst-user.ist $(basename $<) + $(LATEX) $< + +$(MAIN).pdf : $(MAIN).ps + $(PS2PDF) $(PS2PDF_OPT1) $< $@ + +%.ps : %.dvi + dvips $(DVIPSFLAGS1) $< -o $@ + +pst-user-old.pdf : pst-user-old.tex pst-usr1.pdf pst-usr2.pdf pst-usr3.pdf \ + pst-usr4.pdf + $(PDFLATEX) $< + +pst-usr%.pdf : pst-usr%.ps.gz + zcat $< | $(PS2PDF) $(PS2PDF_OPT2) - > $@ + +clean : + $(RM) $(addprefix $(MAIN), .aux .ilg .ind .idx .log .out .tmp .toc) +# D.G. modification begin - Mar. 7, 2003 +# $(RM) $(addprefix $(MAIN)-old, .log .aux) +# $(RM) pst-usr?.pdf +# D.G. modification end + +veryclean : clean + $(RM) $(addprefix $(MAIN), .ps .dvi .pdf) +# D.G. modification begin - Mar. 7, 2003 +# $(RM) $(MAIN)-old.pdf + $(RM) *.aux +# D.G. modification end + +arch : + zip $(ARCHNAME) $(MAIN).tex $(ADDINPUTS) pst-user-old.tex Makefile + @ echo ; echo $(ARCHNAME) ; echo + +# D.G. modification begin - Mar. 7, 2003 +tar: + tar -cf $(TARNAME) $(MAIN).tex $(ADDINPUTS) \ + pst-user.ist pst-user.idx \ + CHANGES VERSIONS TODO \ + Makefile artistic.txt defaults.pst \ + pstricks.tex pst-eps.tex pst-node.tex pst-tree.tex \ + *.sty pst-user.pdf + gzip --force $(TARNAME) + ls -l $(TARNAME).gz +# D.G. modification end |