1999-09-06 18:10:27 +00:00
|
|
|
# GPH - GNU Privacy Handbook
|
|
|
|
|
1999-09-07 14:28:16 +00:00
|
|
|
PARTS = manual.sgml c1.sgml c2.sgml c3.sgml c4.sgml c5.sgml c6.sgml c7.sgml \
|
1999-09-07 16:48:48 +00:00
|
|
|
signatures.fig signatures.jpg.asc
|
1999-09-06 18:10:27 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = $(PARTS) index.html
|
1999-09-07 14:28:16 +00:00
|
|
|
#BUILT_SOURCES = index.html
|
1999-09-06 18:10:27 +00:00
|
|
|
|
1999-09-07 16:48:48 +00:00
|
|
|
all-local: ./signatures.jpg
|
1999-09-07 14:28:16 +00:00
|
|
|
|
1999-09-07 16:48:48 +00:00
|
|
|
./signatures.jpg: $(srcdir)/signatures.jpg.asc
|
|
|
|
../../g10/gpg --yes --dearmor \
|
|
|
|
-o ./signatures.jpg $(srcdir)/signatures.jpg.asc
|
2002-06-29 13:31:13 +00:00
|
|
|
-test -d manual && cp ./signatures.jpg ./manual/signatures.jpg
|
1999-09-07 16:48:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
index.html: $(PARTS)
|
1999-09-07 14:28:16 +00:00
|
|
|
@set -e; \
|
|
|
|
for i in $(PARTS); do \
|
|
|
|
[ -f $$i ] || cat /dev/null $(srcdir)/$$i >./$$i ; \
|
|
|
|
done
|
1999-09-06 18:10:27 +00:00
|
|
|
db2html manual.sgml
|
|
|
|
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
|
1999-09-07 16:48:48 +00:00
|
|
|
-rm manual/signatures.jpg
|
2002-06-29 13:31:13 +00:00
|
|
|
## (cd manual; rm -r stylesheet-images; ls | grep -v distfiles >distfiles)
|
1999-09-06 18:10:27 +00:00
|
|
|
|
1999-09-07 14:28:16 +00:00
|
|
|
|
|
|
|
dist-hook: index.html
|
|
|
|
|
|
|
|
|
1999-09-06 18:10:27 +00:00
|
|
|
%.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 $< $@
|
|
|
|
|