mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
development/watchman: Get rid of /usr/share/doc.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
b8386f69d5
commit
ea949b74b2
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue