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