summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/code/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/code/Makefile')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/code/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/code/Makefile b/Master/texmf-dist/doc/generic/pstricks/code/Makefile
new file mode 100644
index 00000000000..58a4fec923a
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pstricks/code/Makefile
@@ -0,0 +1,38 @@
+input=pst-code
+
+all:
+ $(MAKE) dvi
+ $(MAKE) ps
+ $(MAKE) pdf
+
+index:
+ makeindex -s gind.ist $(input).idx
+
+dvi:
+ latex $(input).tex
+ $(MAKE) index
+ latex $(input).tex
+ xdvi $(input).dvi
+
+ps:
+ latex $(input).tex
+ $(MAKE) index
+ latex $(input).tex
+ dvips $(input)
+ gv $(input).ps
+
+pdf:
+ pdflatex $(input).tex
+ $(MAKE) index
+ pdflatex $(input).tex
+ xpdf $(input).pdf
+
+
+zip:
+ $(RM) $(input).zip
+ zip -r $(input).zip *
+
+clean:
+ $(RM) *.pdf
+ $(RM) *.ps
+