asyncio
Last change
on this file since 30b23d6 was
fa14c32,
checked in by Fiona Klute <fiona.klute@…>, 16 months ago
|
Rename mod_gnutls_manual.mdwn -> mod_gnutls_manual.md
".md" has become the de-facto standard for markdown files.
|
-
Property mode set to
100644
|
File size:
866 bytes
|
Line | |
---|
1 | EXTRA_DIST = mod_gnutls_manual.md mod_gnutls_manual.yaml.in \ |
---|
2 | mod_gnutls.whatis style.css |
---|
3 | |
---|
4 | if USE_PANDOC |
---|
5 | html_DATA = mod_gnutls_manual.html |
---|
6 | man5_MANS = mod_gnutls.5 |
---|
7 | if USE_PDFLATEX |
---|
8 | # pandoc && pdflatex |
---|
9 | pdf_DATA = mod_gnutls_manual.pdf |
---|
10 | endif |
---|
11 | else |
---|
12 | if USE_MARKDOWN |
---|
13 | # !pandoc && markdown |
---|
14 | html_DATA = mod_gnutls_manual.html |
---|
15 | endif |
---|
16 | endif |
---|
17 | |
---|
18 | MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA) $(man5_MANS) |
---|
19 | |
---|
20 | %.yaml: %.yaml.in |
---|
21 | sed -e s/__MOD_GNUTLS_VERSION__/@MOD_GNUTLS_VERSION@/ < $< > $@ |
---|
22 | |
---|
23 | if USE_PANDOC |
---|
24 | %.5: %.whatis %_manual.md %_manual.yaml |
---|
25 | $(PANDOC) --standalone -f markdown -t man -o $@ $^ |
---|
26 | |
---|
27 | if USE_PDFLATEX |
---|
28 | %.pdf: %.md %.yaml |
---|
29 | $(PANDOC) --toc -f markdown -o $@ $^ |
---|
30 | endif |
---|
31 | endif |
---|
32 | |
---|
33 | %.html: %.md %.yaml style.css |
---|
34 | if USE_PANDOC |
---|
35 | $(PANDOC) --css $(filter %.css,$^) --toc --self-contained -f markdown -o $@ $(filter-out %.css,$^) |
---|
36 | else |
---|
37 | if USE_MARKDOWN |
---|
38 | $(MARKDOWN) $< > $@ |
---|
39 | endif |
---|
40 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.