asyncioproxy-ticket
Last change
on this file since 27ca1e9 was
27ca1e9,
checked in by Fiona Klute <fiona.klute@…>, 3 years ago
|
Manual: Use YAML metadata instead of embedded title for all formats
|
-
Property mode set to
100644
|
File size:
768 bytes
|
Line | |
---|
1 | EXTRA_DIST = mod_gnutls_manual.mdwn mod_gnutls_manual.yaml.in |
---|
2 | |
---|
3 | if USE_PANDOC |
---|
4 | html_DATA = mod_gnutls_manual.html |
---|
5 | man5_MANS = mod_gnutls_manual.5 |
---|
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) $(man5_MANS) |
---|
18 | |
---|
19 | %.yaml: %.yaml.in |
---|
20 | sed -e s/__MOD_GNUTLS_VERSION__/@MOD_GNUTLS_VERSION@/ < $< > $@ |
---|
21 | |
---|
22 | if USE_PANDOC |
---|
23 | %.5: %.mdwn %.yaml |
---|
24 | $(PANDOC) --standalone -f markdown -t man -o $@ $^ |
---|
25 | |
---|
26 | if USE_PDFLATEX |
---|
27 | %.pdf: %.mdwn %.yaml |
---|
28 | $(PANDOC) --toc -f markdown -o $@ $^ |
---|
29 | endif |
---|
30 | endif |
---|
31 | |
---|
32 | %.html: %.mdwn %.yaml |
---|
33 | if USE_PANDOC |
---|
34 | $(PANDOC) --toc --standalone -f markdown -o $@ $^ |
---|
35 | else |
---|
36 | if USE_MARKDOWN |
---|
37 | $(MARKDOWN) $< > $@ |
---|
38 | endif |
---|
39 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.