Skip to content

Commit

Permalink
Add rule for PDF documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Mar 15, 2019
1 parent 29389f7 commit 6b3c81c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/Makefile.am
Expand Up @@ -33,8 +33,9 @@ EXTRA_DIST = $(man_MANS) Doxyfile
.PHONY: html

html: ${man_MANS:%=%.html}
pdf: ${man_MANS:%=%.pdf}

SUFFIXES = .asc .html
SUFFIXES = .asc .html .pdf

.asc:
-asciidoc -b docbook -d manpage -o - $< | \
Expand All @@ -43,6 +44,10 @@ SUFFIXES = .asc .html
.asc.html:
asciidoc -b html5 -o $@ $<

.asc.pdf:
asciidoc -b docbook -d manpage -o $*.dbk $<
docbook2pdf $*.dbk

MAINTAINERCLEANFILES = $(man_MANS) Doxyfile

endif

0 comments on commit 6b3c81c

Please sign in to comment.