summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/pst-diffraction/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-28 18:52:09 +0000
committerKarl Berry <karl@freefriends.org>2007-09-28 18:52:09 +0000
commitb76bd590ae0a6d1fadac72c841e88b8e02ca6ae0 (patch)
tree412bdd654168374a445229746ab62080a272044f /Master/texmf-dist/source/generic/pst-diffraction/Makefile
parent06cb469ce2c4a637d5751a35f9c4d295361c6c63 (diff)
pst-diffraction (27sep07)
git-svn-id: svn://tug.org/texlive/trunk@5058 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/pst-diffraction/Makefile')
-rw-r--r--Master/texmf-dist/source/generic/pst-diffraction/Makefile33
1 files changed, 20 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/generic/pst-diffraction/Makefile b/Master/texmf-dist/source/generic/pst-diffraction/Makefile
index e23675a5e5c..1d4650b7c1b 100644
--- a/Master/texmf-dist/source/generic/pst-diffraction/Makefile
+++ b/Master/texmf-dist/source/generic/pst-diffraction/Makefile
@@ -1,28 +1,29 @@
-
# `Makefile' for `pst-diffraction.pdf', hv, 2007/03/17
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
PACKAGE = pst-diffraction
-MAIN = $(PACKAGE)-docE
-
LATEX = latex
-ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
+ARCHNAME = $(PACKAGE)-$(shell date +%y%m%d)
+ARCHFILES = $(PACKAGE).sty *.tex $(PACKAGE).pro *.tex README Changes Makefile
+
+all : DE E FR clean
-ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
+DE : $(PACKAGE)-docDE.pdf
+E : $(PACKAGE)-docE.pdf
+FR : $(PACKAGE)-docFR.pdf
-all : doc clean
-doc: $(MAIN).pdf
+doc : $(MAIN).pdf
-$(MAIN).pdf : $(MAIN).ps
+%.pdf : %.ps
GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<
-$(MAIN).ps : $(MAIN).dvi
+%.ps : %.dvi
dvips $<
-$(MAIN).dvi : $(MAIN).tex
+%.dvi : %.tex
$(LATEX) $<
$(LATEX) $<
if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
@@ -36,11 +37,17 @@ $(MAIN).dvi : $(MAIN).tex
$(LATEX) $<
clean :
- $(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
- $(RM) $(addprefix $(MAIN), .dvi .ps)
+ $(RM) $(addprefix $(PACKAGE)-docDE, .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
+ $(RM) $(addprefix $(PACKAGE)-docDE, .dvi .ps)
+ $(RM) $(addprefix $(PACKAGE)-docE, .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
+ $(RM) $(addprefix $(PACKAGE)-docE, .dvi .ps)
+ $(RM) $(addprefix $(PACKAGE)-docFR, .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
+ $(RM) $(addprefix $(PACKAGE)-docFR, .dvi .ps)
veryclean : clean
- $(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
+ $(RM) $(addprefix $(PACKAGE)-docDE, .pdf .bbl .blg)
+ $(RM) $(addprefix $(PACKAGE)-docE, .pdf .bbl .blg)
+ $(RM) $(addprefix $(PACKAGE)-docFR, .pdf .bbl .blg)
arch :
zip $(ARCHNAME).zip $(ARCHFILES)