From b38239291fc6fcd0d923c90e76ba504c87b9e441 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 3 Apr 2014 12:14:57 +0200 Subject: [PATCH] Use xsltproc/dblatex instead of fop in Build-Depends, enable verbose execution with --no-xmllint for a2px The verbose execution provides us with: | a2x: executing: "xmllint" --nonet --noout --valid "/tmp/buildd/zsh-lovers-0.8.3/zsh-lovers.1.xml" | | I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd | /tmp/buildd/zsh-lovers-0.8.3/zsh-lovers.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" | D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" | ^ | /tmp/buildd/zsh-lovers-0.8.3/zsh-lovers.1.xml:5: validity error : Validation failed: no DTD found ! | | ^ | | make[1]: *** [all] Error 1 instead of: | a2x: ERROR: "xmllint" --nonet --noout --valid "/tmp/buildd/zsh-lovers-0.8.3/zsh-lovers.1.xml" returned non-zero exit status 4 And we don't seem to be able to build with xmllint inside the tool chain even though the output looks OK-ish, so let's run it with --no-xmllint --- Makefile | 4 ++-- debian/control | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a328348..5471560 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,10 @@ all: mv zsh-lovers.1.html zsh-lovers.html # manpage: - a2x -f manpage zsh-lovers.1.txt + a2x -vv --no-xmllint -f manpage zsh-lovers.1.txt # pdf: - a2x -f pdf zsh-lovers.1.txt + a2x -vv --no-xmllint -f pdf zsh-lovers.1.txt mv zsh-lovers.1.pdf zsh-lovers.pdf clean: diff --git a/debian/control b/debian/control index b12a0ad..e3b2292 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: doc Priority: optional Maintainer: Michael Prokop Build-Depends: debhelper (>= 8.0.0) -Build-Depends-Indep: asciidoc, fop +Build-Depends-Indep: asciidoc, xsltproc, dblatex Standards-Version: 3.9.5 Homepage: http://grml.org/zsh/ Vcs-git: git://git.grml.org/zsh-lovers.git -- 2.1.4