From a83cd42e101682510313f64ec7ff40a44f2c0a96 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Thu, 30 Oct 2014 00:19:59 +0100 Subject: [PATCH] doc: generate manual pages with a2x --- doc/Makefile.am | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index e51a046..0045377 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -67,14 +67,9 @@ HTML = $(TXT3:%.txt=%.html) $(TXT7:%.txt=%.html) htmldoc: $(HTML) .txt.html: - asciidoc -d manpage -b xhtml11 -f asciidoc.conf \ - -alibmodbus_version=@LIBMODBUS_VERSION@ $< -.txt.xml: - asciidoc -d manpage -b docbook -f asciidoc.conf \ - -alibmodbus_version=@LIBMODBUS_VERSION@ $< -.xml.3: - xmlto --skip-validation man $< -.xml.7: - xmlto --skip-validation man $< + asciidoc -d manpage -b xhtml11 -f asciidoc.conf -alibmodbus_version=@LIBMODBUS_VERSION@ $< + +.txt.3 .txt.7: + a2x --doctype manpage --format manpage -alibmodbus_version=@LIBMODBUS_VERSION@ $< CLEANFILES = *.3 *.7 *.html -- libgit2 0.21.4