doc/Makefile.am
changeset 2 b3afb9f1e801
parent 0 6f7a81934006
--- a/doc/Makefile.am	Sun Jan 20 00:12:17 2008 +0100
+++ b/doc/Makefile.am	Sun Jan 20 00:22:09 2008 +0100
@@ -1,33 +1,35 @@
 man_MANS = vmailmgr.7
-noinst_SGMLS = FAQ.sgml HOWTO.sgml
-noinst_TEXINFOS = configuration.texi vmailmgr-cgi.texi
+noinst_TEXINFOS = FAQ.texi HOWTO.texi configuration.texi vmailmgr-cgi.texi
 noinst_HTMLS = vmailmgr.html HOWTO.html FAQ.html NEWS.html \
 	configuration.html ChangeLog.html vmailmgr-cgi.html
 noinst_TXTS = HOWTO.txt FAQ.txt \
 	configuration.txt vmailmgr-cgi.txt protocol.txt \
 	record-format.txt
 noinst_PODS = vmailmgr.pod
-noinst_MISC = translation.ps
+noinst_MISC = FAQ.info FAQ.pdf HOWTO.info HOWTO.pdf \
+	configuration.info translation.pdf translation.ps
 EXTRA_DIST = ChangeLog-pre-vmailmgr ChangeLog-pre-0.70 \
 	changelog2html.pl news2html.pl \
-	YEAR2000 translation.fig translation.ps \
+	YEAR2000 translation.fig \
 	$(man_MANS) \
 	$(noinst_PODS) \
-	$(noinst_SGMLS) \
 	$(noinst_TEXINFOS) \
 	$(noinst_HTMLS) \
+	$(noinst_MISC) \
 	$(noinst_TXTS)
-CLEANFILES = $(noinst_HTMLS) $(man_MANS) \
-	HOWTO.txt FAQ.txt configuration.txt vmailmgr-cgi.txt
+CLEANFILES = $(noinst_HTMLS) $(man_MANS) $(noinst_MISC) \
+	HOWTO.txt FAQ.txt configuration.txt vmailmgr-cgi.txt \
+	pod2htmd.tmp pod2htmi.tmp
 
 TEXI2HTML = texi2html -monolithic -number
 CL2HTML	= perl changelog2html.pl
 NEWS2HTML = perl news2html.pl
+FIG2PDF = fig2dev -L pdf -c
 FIG2PS = fig2dev -L ps -c
-SGML2HTML = sgml2html --split=0
-SGML2TXT = sgml2txt
+TEXI2PDF = texi2pdf --clean --quiet
+TEXI2INFO = makeinfo --no-split --number-sections
 
-all: $(noinst_HTMLS) $(noinst_TXTS) $(noinst_MISC)
+all: $(noinst_HTMLS) $(noinst_PDFS) $(noinst_TXTS) $(noinst_MISC)
 
 dist-hook:
 	touch $(distdir)/*.html
@@ -44,10 +46,11 @@
 %.5: %.pod ../configure.in; $(POD2MAN) --section=5 $< >$@
 %.7: %.pod ../configure.in; $(POD2MAN) --section=7 $< >$@
 %.8: %.pod ../configure.in; $(POD2MAN) --section=8 $< >$@
-%.html: %.sgml; $(SGML2HTML) $<
-%.txt: %.sgml; $(SGML2TXT) $<
 %.html: %.pod; $(POD2HTML) $< >$@
 %.html: %.texi; $(TEXI2HTML) $< >$@
 %.txt: %.html; $(HTML2TXT) $< >$@
+%.pdf: %.texi; $(TEXI2PDF) $<
+%.info: %.texi; $(TEXI2INFO) $<
 
+%.pdf: %.fig ../configure.in; $(FIG2PDF) $< $@
 %.ps: %.fig ../configure.in; $(FIG2PS) $< $@