source: mod_gnutls/doc/Makefile.am

mod_gnutls/0.9.1
Last change on this file was 829490c, checked in by Fiona Klute <fiona.klute@…>, 3 weeks ago

man page: Include whatis info and remove "_manual" suffix

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