summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/pst-diffraction/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-16 00:18:08 +0000
committerKarl Berry <karl@freefriends.org>2007-09-16 00:18:08 +0000
commit14c7fd46eb994879e14d10b636bcd97a0a3237e8 (patch)
treec17867bf2b11377b69c1930324fe573baa0d7f37 /Master/texmf-dist/source/generic/pst-diffraction/Makefile
parentb4f513643e9222ff96f871b92cbd9d94c8ec1096 (diff)
new pstricks pst-diffraction (13sep07)
git-svn-id: svn://tug.org/texlive/trunk@4950 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/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pst-diffraction/Makefile b/Master/texmf-dist/source/generic/pst-diffraction/Makefile
new file mode 100644
index 00000000000..e23675a5e5c
--- /dev/null
+++ b/Master/texmf-dist/source/generic/pst-diffraction/Makefile
@@ -0,0 +1,48 @@
+
+# `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)
+
+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
+ bibtex $(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)
+
+veryclean : clean
+ $(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+# EOF