Changeset 7225749 in mod_gnutls for doc


Ignore:
Timestamp:
Nov 24, 2015, 3:33:41 PM (2 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, jessie-backports, upstream
Children:
3e04c0b
Parents:
13ffeff
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/Makefile.am

    r6e1d45d r7225749  
    33if USE_PANDOC
    44html_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.
    85if USE_PDFLATEX
     6# pandoc && pdflatex
    97pdf_DATA = mod_gnutls_manual.pdf
    108endif
     9else
     10if USE_MARKDOWN
     11# !pandoc && markdown
     12html_DATA = mod_gnutls_manual.html
     13endif
     14endif
     15
    1116MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA)
    1217
     18# pdf_DATA will be empty if pandoc isn't available
    1319$(html_DATA) $(pdf_DATA): mod_gnutls_manual.mdwn
     20if USE_PANDOC
    1421        $(PANDOC) --toc --standalone -f markdown -o $@ $<
     22else
     23if USE_MARKDOWN
     24        $(MARKDOWN) $< > $@
     25endif
     26endif
Note: See TracChangeset for help on using the changeset viewer.