diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 23:56:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 23:56:28 +0000 |
commit | be999b8e957d2bb42ae195c98302d639e02b19bb (patch) | |
tree | ebab88be4a0f0afc67edd3906d020c1daf169c2b /Master/texmf-dist/source/latex/ps4pdf | |
parent | d513b55dfc880b18997d7402690aa6db0918b021 (diff) |
trunk/Master/texmf-dist/source/latex/ps4pdf
git-svn-id: svn://tug.org/texlive/trunk@467 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ps4pdf')
-rw-r--r-- | Master/texmf-dist/source/latex/ps4pdf/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/ps4pdf/Makefile b/Master/texmf-dist/source/latex/ps4pdf/Makefile new file mode 100644 index 00000000000..e4a903f89b6 --- /dev/null +++ b/Master/texmf-dist/source/latex/ps4pdf/Makefile @@ -0,0 +1,52 @@ + +# Rolf Niepraschk, niepraschk@ptb.de, 2003-05-19 + +.SUFFIXES : .tex .dvi .ps .pdf .eps + +MAIN = ps4pdf-test + +PDFLATEX = pdflatex +LATEX = latex +DVIPSFLAGS = -Ppdf -G0 + +#ARCHNAME = $(MAIN)-$(shell date +%y%m%d).zip +ARCHNAME = ps4pdf-$(shell date +%y%m%d).tar.gz + +PICS_SRC = 4-10-8.inl penguin.eps + +all : $(MAIN).pdf + +ps : $(MAIN).ps + +$(MAIN).pdf : $(MAIN).tex $(PICS_SRC) $(MAIN)-pics.pdf + $(PDFLATEX) $< + +$(MAIN).ps : $(MAIN).tex $(PICS_SRC) + latex '\PassOptionsToPackage{inactive}{ps4pdf} \input{$<}' + dvips $(DVIPSFLAGS) -o $@ $(basename $<).dvi + +$(MAIN)-pics.pdf : $(MAIN)-pics.ps $(PICS) + ps2pdf $< $@ + +$(MAIN)-pics.ps : $(MAIN).tex $(PICS_SRC) + latex $< + dvips $(DVIPSFLAGS) -o $@ $(basename $<).dvi + +%.pdf : %.eps + epstopdf $< -o=$@ + +clean : + $(RM) $(addprefix $(MAIN), .log .aux) \ + $(addprefix $(MAIN)-pics, .ps .log .aux) + +veryclean : clean + $(RM) $(addprefix $(MAIN)-pics, .pdf .ps .dvi) \ + $(addprefix $(MAIN), .pdf .ps .dvi) + +arch : + tar cvzf $(ARCHNAME) $(MAIN).tex $(PICS_SRC) ps4pdf.sty Makefile \ + README create-eps + @ echo + @ echo $(ARCHNAME) + +.INTERMEDIATE : $(MAIN)-pics.ps $(MAIN).dvi |