summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rrgtrees/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/rrgtrees/Makefile')
-rw-r--r--macros/latex/contrib/rrgtrees/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/macros/latex/contrib/rrgtrees/Makefile b/macros/latex/contrib/rrgtrees/Makefile
new file mode 100644
index 0000000000..67bca1007a
--- /dev/null
+++ b/macros/latex/contrib/rrgtrees/Makefile
@@ -0,0 +1,31 @@
+#
+# This makefile is mainly for my convenience, so that the tarball is
+# made with all the right bits. But I'm including it in the distro
+# for people who want to see how I make the pdf file....
+#
+SRC=rrgtrees.dtx rrgtrees.ins Makefile
+PRODUCTS=rrgtrees.sty
+SIDEEFFECTS=rrgtrees.aux rrgtrees.log rrgtrees.dvi
+DOCS=rrgtrees.pdf README
+
+doc: rrgtrees.pdf
+
+rrgtrees.dvi: rrgtrees.sty rrgtrees.dtx
+ latex rrgtrees.dtx
+ latex rrgtrees.dtx
+
+rrgtrees.ps: rrgtrees.dvi
+ dvips rrgtrees.dvi -o rrgtrees.ps
+
+rrgtrees.pdf: rrgtrees.ps
+ ps2pdf rrgtrees.ps rrgtrees.pdf
+
+
+rrgtrees.sty: $(SRC)
+ latex rrgtrees.ins
+clean:
+ -rm $(SIDEEFFECTS)
+spotless:
+ -rm $(PRODUCTS) $(DOCS)
+tarball: $(SRC) $(DOCS)
+ tar -czvf rrgtrees.tgz $(SRC) $(DOCS)