Changeset af9e3a5 in mod_gnutls


Ignore:
Timestamp:
Oct 31, 2018, 5:18:27 PM (10 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master
Children:
3493a80
Parents:
b47dc70
Message:

Build a manual page (requires pandoc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/Makefile.am

    rb47dc70 raf9e3a5  
    33if USE_PANDOC
    44html_DATA = mod_gnutls_manual.html
     5man3_MANS = mod_gnutls_manual.man
    56if USE_PDFLATEX
    67# pandoc && pdflatex
     
    1415endif
    1516
    16 MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA)
     17MOSTLYCLEANFILES = $(html_DATA) $(pdf_DATA) $(man3_MANS)
    1718
    18 # pdf_DATA will be empty if pandoc isn't available
    19 $(html_DATA) $(pdf_DATA): mod_gnutls_manual.mdwn
     19if USE_PANDOC
     20%.man: %.mdwn
     21        $(PANDOC) --standalone --variable section=3 -f markdown -t man -o $@ $<
     22
     23if USE_PDFLATEX
     24%.pdf: %.mdwn
     25        $(PANDOC) --toc -f markdown -o $@ $<
     26endif
     27endif
     28
     29%.html: %.mdwn
    2030if USE_PANDOC
    2131        $(PANDOC) --toc --standalone -f markdown -o $@ $<
Note: See TracChangeset for help on using the changeset viewer.