summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..ba488ba
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,18 @@
+all : quilt.pdf
+
+quilt.ps : quilt.dvi
+ dvips -t letter -o $@ $<
+
+quilt.pdf: main.tex
+ pdflatex -t letter $< && \
+ mv main.pdf $@
+
+quilt.dvi : main.tex
+ latex $< && \
+ mv main.dvi $@
+
+clean:
+ rm -f main.{dvi,log,aux}
+
+distclean: clean
+ rm -f quilt.{ps,pdf,dvi}