diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-24 19:09:06 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-26 18:58:51 +0700 |
commit | d6629017d954185b4351cd983eed8fa31044240a (patch) | |
tree | 4509bd700819d206f2223a416afbcc01e5d2ae50 | |
parent | c596e7407be501487452abef6bf7787d670d3deb (diff) |
office/htmldoc: Don't install to build host.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | office/htmldoc/htmldoc.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild index 6ff64f3fb72aa..8e6fe78099416 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 |