source: mod_gnutls/doc/Makefile.am

mod_gnutls/0.10.0
Last change on this file was fa14c32, checked in by Fiona Klute <fiona.klute@…>, 7 weeks ago

Rename mod_gnutls_manual.mdwn -> mod_gnutls_manual.md

".md" has become the de-facto standard for markdown files.

  • Property mode set to 100644
File size: 866 bytes
Line 
1EXTRA_DIST = mod_gnutls_manual.md mod_gnutls_manual.yaml.in \
2        mod_gnutls.whatis style.css
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.md %_manual.yaml
25        $(PANDOC) --standalone -f markdown -t man -o $@ $^
26
27if USE_PDFLATEX
28%.pdf: %.md %.yaml
29        $(PANDOC) --toc -f markdown -o $@ $^
30endif
31endif
32
33%.html: %.md %.yaml style.css
34if USE_PANDOC
35        $(PANDOC) --css $(filter %.css,$^) --toc --self-contained -f markdown -o $@ $(filter-out %.css,$^)
36else
37if USE_MARKDOWN
38        $(MARKDOWN) $< > $@
39endif
40endif
Note: See TracBrowser for help on using the repository browser.