From b65f854278c7412b9dd2f6b335ad1f7e32d83d34 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 14 Apr 2014 08:18:47 +0200 Subject: build: fix documentation build Handle the docbook2x-man mess that is called differently on different distributions. Also switch to dblatex since db2pdf is unable to handle XML on Fedora (and probably other distributions). Signed-off-by: Patrick McHardy --- Makefile.rules.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.rules.in') diff --git a/Makefile.rules.in b/Makefile.rules.in index ae563a54..6a009161 100644 --- a/Makefile.rules.in +++ b/Makefile.rules.in @@ -37,11 +37,11 @@ configure: configure.ac %.8: %.xml $(makedeps) @echo -e " MAN\t\t$@" - (cd $(SUBDIR); docbook2x-man ../$<) + (cd $(SUBDIR); $(DB2MAN) --xinclude ../$<) %.pdf: %.xml $(makedeps) @echo -e " PDF\t\t$@" - db2pdf -o $(SUBDIR) $< + dblatex -q -t pdf -o $@ $< archive: git archive --prefix=nftables-@PACKAGE_VERSION@/ HEAD | \ -- cgit v1.2.3