diff options
author | B. Watson <yalhcru@gmail.com> | 2017-08-10 12:07:25 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:58:47 +0700 |
commit | 44f0766c688cb1db5091aa29dead97a9a64c9810 (patch) | |
tree | 782e276d63dde2d5228f12d59d740143cd9d6201 /development/watchman/watchman.SlackBuild | |
parent | b1911d70d92b4152e3f0fab118bd82914d5859da (diff) |
development/watchman: Get rid of /usr/share/doc.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/watchman/watchman.SlackBuild')
-rw-r--r-- | development/watchman/watchman.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/development/watchman/watchman.SlackBuild b/development/watchman/watchman.SlackBuild index 2642c695bda08..85b5480772e5e 100644 --- a/development/watchman/watchman.SlackBuild +++ b/development/watchman/watchman.SlackBuild @@ -25,6 +25,8 @@ # with this program (most likely, a file named COPYING). If not, see # <https://www.gnu.org/licenses/>. +# 20170810 bkw: get rid of /usr/share/doc, BUILD=3 + # 20170621 bkw: fix build on -current (--enable-lenient, removes -Werror) # 20170309 bkw: @@ -35,7 +37,7 @@ PRGNAM=watchman VERSION=${VERSION:-4.7.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -98,6 +100,10 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# don't know how to keep python/setup.py from installing docs here, easier +# to blow it away after the fact. +rm -rf $PKG/usr/share + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |