doc/Makefile.am
changeset 0 6f7a81934006
child 2 b3afb9f1e801
equal deleted inserted replaced
-1:000000000000 0:6f7a81934006
       
     1 man_MANS = vmailmgr.7
       
     2 noinst_SGMLS = FAQ.sgml HOWTO.sgml
       
     3 noinst_TEXINFOS = configuration.texi vmailmgr-cgi.texi
       
     4 noinst_HTMLS = vmailmgr.html HOWTO.html FAQ.html NEWS.html \
       
     5 	configuration.html ChangeLog.html vmailmgr-cgi.html
       
     6 noinst_TXTS = HOWTO.txt FAQ.txt \
       
     7 	configuration.txt vmailmgr-cgi.txt protocol.txt \
       
     8 	record-format.txt
       
     9 noinst_PODS = vmailmgr.pod
       
    10 noinst_MISC = translation.ps
       
    11 EXTRA_DIST = ChangeLog-pre-vmailmgr ChangeLog-pre-0.70 \
       
    12 	changelog2html.pl news2html.pl \
       
    13 	YEAR2000 translation.fig translation.ps \
       
    14 	$(man_MANS) \
       
    15 	$(noinst_PODS) \
       
    16 	$(noinst_SGMLS) \
       
    17 	$(noinst_TEXINFOS) \
       
    18 	$(noinst_HTMLS) \
       
    19 	$(noinst_TXTS)
       
    20 CLEANFILES = $(noinst_HTMLS) $(man_MANS) \
       
    21 	HOWTO.txt FAQ.txt configuration.txt vmailmgr-cgi.txt
       
    22 
       
    23 TEXI2HTML = texi2html -monolithic -number
       
    24 CL2HTML	= perl changelog2html.pl
       
    25 NEWS2HTML = perl news2html.pl
       
    26 FIG2PS = fig2dev -L ps -c
       
    27 SGML2HTML = sgml2html --split=0
       
    28 SGML2TXT = sgml2txt
       
    29 
       
    30 all: $(noinst_HTMLS) $(noinst_TXTS) $(noinst_MISC)
       
    31 
       
    32 dist-hook:
       
    33 	touch $(distdir)/*.html
       
    34 	touch $(distdir)/*.txt
       
    35 	touch $(distdir)/*.[123456789]
       
    36 
       
    37 ChangeLog.html: ../ChangeLog
       
    38 	$(CL2HTML) $< >$@
       
    39 
       
    40 NEWS.html: ../NEWS
       
    41 	$(NEWS2HTML) $< >$@
       
    42 
       
    43 %.1: %.pod ../configure.in; $(POD2MAN) --section=1 $< >$@
       
    44 %.5: %.pod ../configure.in; $(POD2MAN) --section=5 $< >$@
       
    45 %.7: %.pod ../configure.in; $(POD2MAN) --section=7 $< >$@
       
    46 %.8: %.pod ../configure.in; $(POD2MAN) --section=8 $< >$@
       
    47 %.html: %.sgml; $(SGML2HTML) $<
       
    48 %.txt: %.sgml; $(SGML2TXT) $<
       
    49 %.html: %.pod; $(POD2HTML) $< >$@
       
    50 %.html: %.texi; $(TEXI2HTML) $< >$@
       
    51 %.txt: %.html; $(HTML2TXT) $< >$@
       
    52 
       
    53 %.ps: %.fig ../configure.in; $(FIG2PS) $< $@