source: mod_gnutls/doc/Makefile.am @ c6987c6

asyncioproxy-ticket
Last change on this file since c6987c6 was c6987c6, checked in by Fiona Klute <fiona.klute@…>, 15 months ago

Move manual page to section 5 (config files)

The manual describes mod_gnutls configuration, not API, so section 5
fits better.

  • Property mode set to 100644
File size: 758 bytes
Line 
1EXTRA_DIST = mod_gnutls_manual.mdwn mod_gnutls_manual.yaml.in
2
3if USE_PANDOC
4html_DATA = mod_gnutls_manual.html
5man5_MANS = mod_gnutls_manual.man
6if USE_PDFLATEX
7# pandoc && pdflatex
8pdf_DATA = mod_gnutls_manual.pdf
9endif
10else
11if USE_MARKDOWN
12# !pandoc && markdown
13html_DATA = mod_gnutls_manual.html
14endif
15endif
16
17MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA) $(man5_MANS)
18
19%.yaml: %.yaml.in
20        sed -e s/__MOD_GNUTLS_VERSION__/@MOD_GNUTLS_VERSION@/ < $< > $@
21
22if USE_PANDOC
23%.man: %.mdwn %.yaml
24        $(PANDOC) --standalone -f markdown -t man -o $@ $^
25
26if USE_PDFLATEX
27%.pdf: %.mdwn
28        $(PANDOC) --toc -f markdown -o $@ $<
29endif
30endif
31
32%.html: %.mdwn
33if USE_PANDOC
34        $(PANDOC) --toc --standalone -f markdown -o $@ $<
35else
36if USE_MARKDOWN
37        $(MARKDOWN) $< > $@
38endif
39endif
Note: See TracBrowser for help on using the repository browser.