diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-21 14:42:14 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-06-21 14:42:14 +0000 |
commit | 836f497d5ba479fdc19164951941f051cdd804d0 (patch) | |
tree | f90cd5cb3cf497aea05d961315c26bad32ac7471 /Master/texmf-dist/source/generic/pstricks/Makefile | |
parent | 4683bcefcc8e380dda5f46ff09833a4b9b7f7804 (diff) |
pstricks update
git-svn-id: svn://tug.org/texlive/trunk@8901 c570f23f-e606-0410-a88d-b1316a301751
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 |