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 | |
---|
1 | EXTRA_DIST = mod_gnutls_manual.mdwn |
---|
2 | |
---|
3 | if USE_PANDOC |
---|
4 | html_DATA = mod_gnutls_manual.html |
---|
5 | if USE_PDFLATEX |
---|
6 | # pandoc && pdflatex |
---|
7 | pdf_DATA = mod_gnutls_manual.pdf |
---|
8 | endif |
---|
9 | else |
---|
10 | if USE_MARKDOWN |
---|
11 | # !pandoc && markdown |
---|
12 | html_DATA = mod_gnutls_manual.html |
---|
13 | endif |
---|
14 | endif |
---|
15 | |
---|
16 | MOSTLYCLEANFILES = $(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 |
---|
20 | if USE_PANDOC |
---|
21 | $(PANDOC) --toc --standalone -f markdown -o $@ $< |
---|
22 | else |
---|
23 | if USE_MARKDOWN |
---|
24 | $(MARKDOWN) $< > $@ |
---|
25 | endif |
---|
26 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.