docbook.sh: also debug calls to xmllint(1)

This commit is contained in:
Pierre Pronchery 2023-11-23 17:32:57 +01:00
parent c3a472694c
commit 41744e461e

View File

@ -175,7 +175,7 @@ while [ $# -gt 0 ]; do
source="${target#$OBJDIR}" source="${target#$OBJDIR}"
source="${source%.*}.xml" source="${source%.*}.xml"
xpath="string(/refentry/refmeta/manvolnum)" xpath="string(/refentry/refmeta/manvolnum)"
section=$($XMLLINT --xpath "$xpath" "$source") section=$($DEBUG $XMLLINT --xpath "$xpath" "$source")
if [ $? -eq 0 -a -n "$section" ]; then if [ $? -eq 0 -a -n "$section" ]; then
instdir="$MANDIR/html$section" instdir="$MANDIR/html$section"
fi fi