doc/Makefile: use a2x --no-noxmllint for man page conversion

pull/204/head
Axel Burri 2017-10-11 23:21:24 +02:00
parent 780ef57895
commit c445b32459
1 changed files with 6 additions and 2 deletions

View File

@ -38,11 +38,15 @@ clean:
gzip -9f $< gzip -9f $<
# convert using a2x from asciidoc package: http://asciidoc.org # convert using a2x from asciidoc package: http://asciidoc.org
# NOTE: we are using -L (--no-xmllint), as this xmllint is a separate
# package on many distros.
%.1 : %.1.asciidoc %.1 : %.1.asciidoc
a2x -d manpage -f manpage $< a2x -L -d manpage -f manpage $<
%.5 : %.5.asciidoc %.5 : %.5.asciidoc
a2x -d manpage -f manpage $< a2x -L -d manpage -f manpage $<
%.html : %.asciidoc %.html : %.asciidoc
asciidoc -b html -d article -o $@ $< asciidoc -b html -d article -o $@ $<