asynciodebian/masterdebian/stretch-backportsjessie-backportsmainproxy-ticketupstream
Last change
on this file since 13ffeff was
6e1d45d,
checked in by Thomas Klute <thomas2.klute@…>, 8 years ago
|
Build documentation through automake
The handwritten Makefile used before had no connection to the automake
system, so documentation could not be built automatically. The user had
to manually call make in doc/. With this change, documentation gets
built, installed, and included in the distribution archive as expected.
Building documentation requires pandoc, which in turn needs pdflatex to
build PDF output. Check for both tools during configuration and
enable/disable output files accordingly.
|
-
Property mode set to
100644
|
File size:
394 bytes
|
Line | |
---|
1 | EXTRA_DIST = mod_gnutls_manual.mdwn |
---|
2 | |
---|
3 | if USE_PANDOC |
---|
4 | html_DATA = mod_gnutls_manual.html |
---|
5 | endif |
---|
6 | # pandoc needs pdflatex for PDF output, so USE_PDFLATEX will only be |
---|
7 | # enabled if USE_PANDOC is, too. |
---|
8 | if USE_PDFLATEX |
---|
9 | pdf_DATA = mod_gnutls_manual.pdf |
---|
10 | endif |
---|
11 | MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA) |
---|
12 | |
---|
13 | $(html_DATA) $(pdf_DATA): mod_gnutls_manual.mdwn |
---|
14 | $(PANDOC) --toc --standalone -f markdown -o $@ $< |
---|
Note: See
TracBrowser
for help on using the repository browser.