aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gph/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gph/Makefile.am')
-rw-r--r--doc/gph/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/gph/Makefile.am b/doc/gph/Makefile.am
new file mode 100644
index 000000000..179e54645
--- /dev/null
+++ b/doc/gph/Makefile.am
@@ -0,0 +1,38 @@
+# GPH - GNU Privacy Handbook
+
+PARTS = manual.sgml c1.sgml c2.sgml c3.sgml c4.sgml c5.sgml c6.sgml \
+ signatures.fig
+
+EXTRA_DIST = $(PARTS) index.html
+BUILT_SOURCES = index.html
+
+index.html: $(PARTS) signatures.jpg
+ db2html manual.sgml
+ cp signatures.jpg manual/signatures.jpg
+ echo '<html><body>' >index.html
+ echo '<ul>' >>index.html
+ echo '<li><a href="manual/book1.html">GnuPG User Manual</a>' >>index.html
+ echo '</ul>' >>index.html
+ echo '</body></html>' >>index.html
+ -rm -r manual.junk
+ (cd manual; rm -r stylesheet-images; ls | grep -v distfiles >distfiles)
+
+%.dvi: %.sgml
+ db2dvi $<
+
+%.ps: %.dvi
+ dvips -o $@ $<
+
+%/%.html: %.sgml
+ db2html $<
+
+
+%.png: %.fig
+ fig2dev -L png $< $@
+
+%.jpg: %.fig
+ fig2dev -L jpeg $< $@
+
+%.eps: %.fig
+ fig2dev -L ps $< $@
+