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.am17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/gph/Makefile.am b/doc/gph/Makefile.am
index 87e4d9fc1..732c3e3e6 100644
--- a/doc/gph/Makefile.am
+++ b/doc/gph/Makefile.am
@@ -1,35 +1,38 @@
# GPH - GNU Privacy Handbook
PARTS = manual.sgml c1.sgml c2.sgml c3.sgml c4.sgml c5.sgml c6.sgml c7.sgml \
- signatures.fig
+ signatures.fig signatures.jpg.asc
EXTRA_DIST = $(PARTS) index.html
#BUILT_SOURCES = index.html
-dummy:
+all-local: ./signatures.jpg
-index.html: $(PARTS) ./signatures.jpg
+./signatures.jpg: $(srcdir)/signatures.jpg.asc
+ ../../g10/gpg --yes --dearmor \
+ -o ./signatures.jpg $(srcdir)/signatures.jpg.asc
+ test -d manual && cp ./signatures.jpg ./manual/signatures.jpg
+
+
+index.html: $(PARTS)
@set -e; \
for i in $(PARTS); do \
[ -f $$i ] || cat /dev/null $(srcdir)/$$i >./$$i ; \
done
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
+ -rm manual/signatures.jpg
(cd manual; rm -r stylesheet-images; ls | grep -v distfiles >distfiles)
-signatures.jpg: $(srcdir)/signatures.fig
- fig2dev -L jpeg $(srcdir)/signatures.fig signatures.jpg
dist-hook: index.html
-
%.dvi: %.sgml
db2dvi $<