aboutsummaryrefslogtreecommitdiff
path: root/office/htmldoc
diff options
context:
space:
mode:
Diffstat (limited to 'office/htmldoc')
-rw-r--r--office/htmldoc/htmldoc.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild
index 6ff64f3fb72a..8e6fe7809941 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -88,8 +88,8 @@ sed -r -i 's|CUPS_RAND|rand|g' htmldoc/http.c
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=$PKG/usr \
+ --libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
--enable-ssl \
--with-gui \
--disable-localjpeg \
@@ -102,11 +102,9 @@ CXXFLAGS="$SLKCFLAGS" \
sed -r -i 's|\$(datadir)/doc/htmldoc|\$(prefix)/doc/htmldoc-$VERSION|g' \
doc/Makefile
+# 'make all' also does install (DESTDIR not supported)
make all
-# DESTDIR= is not supported
-make prefix=$PKG/usr install
-
# Copy some files who are not automatically installed (main binary, .desktop, icons, etc..)
mkdir -p $PKG/usr/bin
install -m 755 htmldoc/$PRGNAM $PKG/usr/bin