--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/Makefile.am Wed Jan 16 22:39:43 2008 +0100
@@ -0,0 +1,53 @@
+man_MANS = vmailmgr.7
+noinst_SGMLS = FAQ.sgml HOWTO.sgml
+noinst_TEXINFOS = 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
+EXTRA_DIST = ChangeLog-pre-vmailmgr ChangeLog-pre-0.70 \
+ changelog2html.pl news2html.pl \
+ YEAR2000 translation.fig translation.ps \
+ $(man_MANS) \
+ $(noinst_PODS) \
+ $(noinst_SGMLS) \
+ $(noinst_TEXINFOS) \
+ $(noinst_HTMLS) \
+ $(noinst_TXTS)
+CLEANFILES = $(noinst_HTMLS) $(man_MANS) \
+ HOWTO.txt FAQ.txt configuration.txt vmailmgr-cgi.txt
+
+TEXI2HTML = texi2html -monolithic -number
+CL2HTML = perl changelog2html.pl
+NEWS2HTML = perl news2html.pl
+FIG2PS = fig2dev -L ps -c
+SGML2HTML = sgml2html --split=0
+SGML2TXT = sgml2txt
+
+all: $(noinst_HTMLS) $(noinst_TXTS) $(noinst_MISC)
+
+dist-hook:
+ touch $(distdir)/*.html
+ touch $(distdir)/*.txt
+ touch $(distdir)/*.[123456789]
+
+ChangeLog.html: ../ChangeLog
+ $(CL2HTML) $< >$@
+
+NEWS.html: ../NEWS
+ $(NEWS2HTML) $< >$@
+
+%.1: %.pod ../configure.in; $(POD2MAN) --section=1 $< >$@
+%.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) $< >$@
+
+%.ps: %.fig ../configure.in; $(FIG2PS) $< $@