summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-solides3d/doc-src/Makefile')
-rw-r--r--Master/texmf-dist/doc/generic/pst-solides3d/doc-src/Makefile68
1 files changed, 68 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/Makefile b/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/Makefile
new file mode 100644
index 00000000000..8c16dc68445
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-solides3d/doc-src/Makefile
@@ -0,0 +1,68 @@
+# `Makefile' for `pst-solides3d-doc.pdf', hv, 2008/08/01
+
+.SUFFIXES : .tex .dvi .ps .pdf .eps
+
+PACKAGE = pst-solides3d
+
+MAIN = $(PACKAGE)-doc
+
+LATEX = latex
+
+ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
+
+ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
+
+TDS = ~/PSTricks/PSTricks-TDS
+
+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 -s Letter.ist -t $(basename $<).ilg -o $(basename $<).ind \
+ $(basename $<).idx
+ bibtex $(basename $<)
+ $(LATEX) $<
+ $(LATEX) $<
+
+clean :
+ $(RM) $(addprefix $(MAIN), .log .aux .bbl .blg .glg .glo .gls .ilg .idx .ind .tmp .toc .out )
+ $(RM) $(addprefix $(MAIN), .dvi .ps .brf)
+
+veryclean : clean
+ $(RM) $(addprefix $(MAIN), .pdf )
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+tds:
+# cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/
+# cp -u README $(TDS)/doc/generic/$(PACKAGE)/
+ cp -u $(MAIN).pdf $(TDS)/doc/generic/$(PACKAGE)/
+#
+ cp -u ../Changes $(TDS)/tex/latex/$(PACKAGE)/
+ cp -u ../$(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/
+#
+ cp -u ../Changes $(TDS)/tex/generic/$(PACKAGE)/
+ cp -u ../$(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/
+#
+ cp -u ../Changes $(TDS)/dvips/$(PACKAGE)/
+ cp -u ../$(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/
+#
+ cp -u ../Changes $(TDS)/source/$(PACKAGE)/
+ cp -u $(MAIN).tex $(TDS)/source/$(PACKAGE)/
+ cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/
+ cp -u Makefile $(TDS)/source/$(PACKAGE)/
+
+# EOF