aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 44a92d2f9b816133071fc622c83600f8ce125e90 (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
30
31
## Process this file with automake to create Makefile.in

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

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 $<


dist-hook:
	@if test `wc -c < gpg.1` -lt 200; then \
	    echo 'ERROR: dummy man page'; false; fi