summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..07aabdc
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,20 @@
+PAPER = a4
+MKHOWTO = python tools/mkhowto --$(PAPER)
+
+default: html
+
+all: ps html text dvi
+
+dvi ps text: pyOpenSSL.tex
+ $(MKHOWTO) --$@ $^
+
+html: pyOpenSSL.tex
+ $(MKHOWTO) --html --iconserver . $^
+ -rm -rf html
+ mv pyOpenSSL html
+
+clean:
+ rm -rf html pyOpenSSL.dvi pyOpenSSL.ps pyOpenSSL.txt \
+ pyOpenSSL.l2h pyOpenSSL.how
+
+.PHONY: default all html dvi ps text clean