source: mod_gnutls/doc/Makefile.am @ ded2291

asynciodebian/mastermainproxy-ticket
Last change on this file since ded2291 was 7225749, checked in by Thomas Klute <thomas2.klute@…>, 8 years ago

Use "markdown" to build HTML doc if pandoc is not available

Some exotic Debian architectures don't include pandoc, and this might
be useful for some users who don't want to bother with it. The result
isn't as pretty as with pandoc, though.

  • Property mode set to 100644
File size: 517 bytes
Line 
1EXTRA_DIST = mod_gnutls_manual.mdwn
2
3if USE_PANDOC
4html_DATA = mod_gnutls_manual.html
5if USE_PDFLATEX
6# pandoc && pdflatex
7pdf_DATA = mod_gnutls_manual.pdf
8endif
9else
10if USE_MARKDOWN
11# !pandoc && markdown
12html_DATA = mod_gnutls_manual.html
13endif
14endif
15
16MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA)
17
18# pdf_DATA will be empty if pandoc isn't available
19$(html_DATA) $(pdf_DATA): mod_gnutls_manual.mdwn
20if USE_PANDOC
21        $(PANDOC) --toc --standalone -f markdown -o $@ $<
22else
23if USE_MARKDOWN
24        $(MARKDOWN) $< > $@
25endif
26endif
Note: See TracBrowser for help on using the repository browser.