source: mod_gnutls/doc/Makefile.am

asyncio
Last change on this file was fa14c32, checked in by Fiona Klute <fiona.klute@…>, 17 months 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
RevLine 
[fa14c32]1EXTRA_DIST = mod_gnutls_manual.md mod_gnutls_manual.yaml.in \
[dc3cbd5]2        mod_gnutls.whatis style.css
[6e1d45d]3
4if USE_PANDOC
5html_DATA = mod_gnutls_manual.html
[829490c]6man5_MANS = mod_gnutls.5
[6e1d45d]7if USE_PDFLATEX
[7225749]8# pandoc && pdflatex
[6e1d45d]9pdf_DATA = mod_gnutls_manual.pdf
10endif
[7225749]11else
12if USE_MARKDOWN
13# !pandoc && markdown
14html_DATA = mod_gnutls_manual.html
15endif
16endif
17
[c6987c6]18MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA) $(man5_MANS)
[6e1d45d]19
[3493a80]20%.yaml: %.yaml.in
[847c0be]21        sed -e s/__MOD_GNUTLS_VERSION__/@MOD_GNUTLS_VERSION@/ < $< > $@
[3493a80]22
[af9e3a5]23if USE_PANDOC
[fa14c32]24%.5: %.whatis %_manual.md %_manual.yaml
[3493a80]25        $(PANDOC) --standalone -f markdown -t man -o $@ $^
[af9e3a5]26
27if USE_PDFLATEX
[fa14c32]28%.pdf: %.md %.yaml
[27ca1e9]29        $(PANDOC) --toc -f markdown -o $@ $^
[af9e3a5]30endif
31endif
32
[fa14c32]33%.html: %.md %.yaml style.css
[7225749]34if USE_PANDOC
[dc3cbd5]35        $(PANDOC) --css $(filter %.css,$^) --toc --self-contained -f markdown -o $@ $(filter-out %.css,$^)
[7225749]36else
37if USE_MARKDOWN
38        $(MARKDOWN) $< > $@
39endif
40endif
Note: See TracBrowser for help on using the repository browser.