asynciodebian/masterproxy-ticket
Last change
on this file since af9e3a5 was
af9e3a5,
checked in by Fiona Klute <fiona.klute@…>, 2 years ago
|
Build a manual page (requires pandoc)
|
-
Property mode set to
100644
|
File size:
662 bytes
|
Line | |
---|
1 | EXTRA_DIST = mod_gnutls_manual.mdwn |
---|
2 | |
---|
3 | if USE_PANDOC |
---|
4 | html_DATA = mod_gnutls_manual.html |
---|
5 | man3_MANS = mod_gnutls_manual.man |
---|
6 | if USE_PDFLATEX |
---|
7 | # pandoc && pdflatex |
---|
8 | pdf_DATA = mod_gnutls_manual.pdf |
---|
9 | endif |
---|
10 | else |
---|
11 | if USE_MARKDOWN |
---|
12 | # !pandoc && markdown |
---|
13 | html_DATA = mod_gnutls_manual.html |
---|
14 | endif |
---|
15 | endif |
---|
16 | |
---|
17 | MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA) $(man3_MANS) |
---|
18 | |
---|
19 | if USE_PANDOC |
---|
20 | %.man: %.mdwn |
---|
21 | $(PANDOC) --standalone --variable section=3 -f markdown -t man -o $@ $< |
---|
22 | |
---|
23 | if USE_PDFLATEX |
---|
24 | %.pdf: %.mdwn |
---|
25 | $(PANDOC) --toc -f markdown -o $@ $< |
---|
26 | endif |
---|
27 | endif |
---|
28 | |
---|
29 | %.html: %.mdwn |
---|
30 | if USE_PANDOC |
---|
31 | $(PANDOC) --toc --standalone -f markdown -o $@ $< |
---|
32 | else |
---|
33 | if USE_MARKDOWN |
---|
34 | $(MARKDOWN) $< > $@ |
---|
35 | endif |
---|
36 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.