summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/graphviz/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/graphviz/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/graphviz/Makefile')
-rw-r--r--macros/latex/contrib/graphviz/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/macros/latex/contrib/graphviz/Makefile b/macros/latex/contrib/graphviz/Makefile
new file mode 100644
index 0000000000..07476fa0da
--- /dev/null
+++ b/macros/latex/contrib/graphviz/Makefile
@@ -0,0 +1,44 @@
+P = graphviz
+
+all: $(P).sty $(P).pdf $(P).ps
+
+dist: all clean
+ zip -r $(P).zip *
+
+$(P).sty: $(P).dtx
+ latex $(P).ins
+
+$(P).ps: $(P).dvi
+ dvips $(P).dvi
+
+$(P).pdf: $(P).ps
+ ps2pdf $(P).ps
+
+dvi: $(P).dvi
+
+$(P).dvi: $(P).dtx $(P).sty
+ latex -shell-escape $(P).dtx
+ makeindex -s gglo.ist -o $(P).gls $(P).glo
+ latex -shell-escape $(P).dtx
+
+#dotps: $(P).dvi
+# dot -Tps -o MyGraph.ps MyGraph.dot
+# dot -Tps -o MyGraph2.ps MyGraph2.dot
+
+clean:
+ rm -f *~
+ rm -f *.dot
+ rm -f *.ps
+ rm -f *.psbackup
+ rm -f $(P).aux
+ rm -f $(P).glo
+ rm -f $(P).gls
+ rm -f $(P).idx
+ rm -f $(P).ilg
+ rm -f $(P).log
+ rm -f $(P).dvi
+ rm -f $(P).zip
+
+clobber: clean
+ rm -f $(P).pdf
+ rm -f $(P).sty