summaryrefslogtreecommitdiffstats
path: root/source/ap/linuxdoc-tools/linuxdoc-tools.build
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/linuxdoc-tools/linuxdoc-tools.build')
-rwxr-xr-xsource/ap/linuxdoc-tools/linuxdoc-tools.build11
1 files changed, 4 insertions, 7 deletions
diff --git a/source/ap/linuxdoc-tools/linuxdoc-tools.build b/source/ap/linuxdoc-tools/linuxdoc-tools.build
index 444a2a5fe..2a30a4bb3 100755
--- a/source/ap/linuxdoc-tools/linuxdoc-tools.build
+++ b/source/ap/linuxdoc-tools/linuxdoc-tools.build
@@ -112,6 +112,9 @@ autoreconf -v
# Install:
if [ "$1" = "nodocs" ]; then
+ echo "*********************************************************************"
+ echo "*** Building asciidoc without documentation - expect errors below ***"
+ echo "*********************************************************************"
make -i install
echo "******************************************************************"
echo "*** Built asciidoc without documentation - expect errors above ***"
@@ -1047,6 +1050,7 @@ done || exit 1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
+PYTHON=/usr/bin/python3 \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -1057,12 +1061,6 @@ CPPFLAGS="$SLKCFLAGS" \
--enable-build-utils \
--build=$ARCH-slackware-linux$HOSTTARGET || exit 1
-# Patch:
-#
-# Set python3 as the interpreter for 'xml2po'. It's already been patched (above)
-# but the makefiles and other bits contain /usr/bin/python - which on Slackware is python2.
-egrep -lr '/usr/bin/python$' xml2po | xargs sed -i 's?/usr/bin/python?/usr/bin/python3?g'
-
# No parallel build here because it doesn't work:
make || exit 1
@@ -1200,7 +1198,6 @@ CPPFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/docbook2X-$DOCBOOK2XVER \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-maintainer-mode \
--disable-dependency-tracking \
--program-transform-name="s/^docbook2/docbook2x-/" \
--with-html-xsl \