summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: ae5cdb50650ee5c56a56581bb931989d24ac89c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## Process this file with automake to create Makefile.in

SUBDIRS = gph

EXTRA_DIST = DETAILS gpg.sgml gpg.1 FAQ HACKING OpenPGP

man_MANS = gpg.1


%.1 : %.sgml
if HAVE_DOCBOOK_TO_MAN
	docbook-to-man $<  >$@
else
	: Warning: missing docbook-to-man, cannot make $@
	echo ".TH $< 1"   >$@
	echo "No man page due to missing docbook-to-man" >>$@
endif


%.dvi: %.sgml
	db2dvi $<

%.ps: %.dvi
	dvips -o $@ $<

%/%.html: %.sgml
	-db2html $<