|
@@ -46,13 +46,19 @@ elif [ "$1" = "man" ]; then
|
|
if "$2" -f manpage $input; then
|
|
if "$2" -f manpage $input; then
|
|
mv $base.1 $output;
|
|
mv $base.1 $output;
|
|
else
|
|
else
|
|
- echo "==================================";
|
|
+ cat<<EOF
|
|
- echo;
|
|
+==================================
|
|
- echo "a2x is installed, but some required docbook support files are";
|
|
+You need a working asciidoc installed to be able to build the manpage.
|
|
- echo "missing. Please install docbook-xsl, docbook-xml, and";
|
|
+
|
|
- echo "libxml2-utils (Debian) or similar.";
|
|
+a2x is installed, but for some reason it isn't working. Sometimes
|
|
- echo;
|
|
+This happens because required docbook support files are missing.
|
|
- echo "==================================";
|
|
+Please install docbook-xsl, docbook-xml, and libxml2-utils (Debian) or
|
|
|
|
+similar.
|
|
|
|
+
|
|
|
|
+Alternatively, to build without manpages, use the --disable-asciidoc
|
|
|
|
+argument when calling configure.
|
|
|
|
+==================================
|
|
|
|
+EOF
|
|
exit 1;
|
|
exit 1;
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|