aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am32
1 files changed, 17 insertions, 15 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 39fabf9b4..04ad0a4c7 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,31 +1,33 @@
## 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
+gcryptref.dvi : gcryptref.sgml
+
+gcryptref.texi : gcryptref.sgml
+gcryptref.xml : gcryptref.sgml
+
+
+%.ps: %.dvi
+ dvips -o $@ $<
+
+
+if MAINTAINER_MODE
+
%.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
+%.texi : %.xml
+ docbook2texi $< >$@
-gcryptref.dvi : gcryptref.sgml
+%.xml : %.sgml
+ sgml2xml -x lower $< >$@
-%.dvi: %.sgml
- db2dvi $<
+endif
-%.ps: %.dvi
- dvips -o $@ $<
-%/%.html: %.sgml
- -db2html $<