source: mod_gnutls/doc/Makefile.am

debian/master debian/0.9.0-1
Last change on this file was 847c0be, checked in by Fiona Klute <fiona.klute@…>, 11 months ago

Remove build date from manual page to support reproducible builds

  • 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
5man3_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) $(man3_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.