summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/pst-ob3d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/pst-ob3d/Makefile')
-rw-r--r--Master/texmf-dist/source/generic/pst-ob3d/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pst-ob3d/Makefile b/Master/texmf-dist/source/generic/pst-ob3d/Makefile
new file mode 100644
index 00000000000..20d023689b9
--- /dev/null
+++ b/Master/texmf-dist/source/generic/pst-ob3d/Makefile
@@ -0,0 +1,48 @@
+
+# `Makefile' for `pst-ob3d.pdf', hv, 2006/08/11
+
+.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
+
+MAIN = pst-ob3d
+
+LATEX = latex
+
+ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
+
+ARCHFILES = $(MAIN).dtx $(MAIN).ins Makefile
+
+all : $(MAIN).sty doc clean
+
+$(MAIN).sty : $(MAIN).dtx
+%.sty : %.dtx
+ tex $(basename $<).ins
+
+doc: $(MAIN).pdf
+
+$(MAIN).pdf : $(MAIN).ps
+ GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<
+
+$(MAIN).ps : $(MAIN).dvi
+ dvips $<
+
+$(MAIN).dvi : $(MAIN).dtx
+ $(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 -s gind.ist -t $(basename $<).ilg -o $(basename $<).ind \
+ $(basename $<).idx
+ $(LATEX) $<
+
+clean :
+ $(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out)
+ $(RM) $(addprefix $(MAIN), .dvi .ps)
+
+veryclean : clean
+ $(RM) $(MAIN).pdf
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+# EOF