diff options
author | Eric Hameleers <alien@slackware.com> | 2014-03-16 12:19:22 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-03-16 12:19:22 +0000 |
commit | ba62a9ecb8473bada43ccb4e98786bc05d2a2232 (patch) | |
tree | 6fcec6ec76c9eb77ffb4a7ad12fecfe2b798dcf7 | |
parent | d409860b4bc4343564858a2333f7a4cb0392635d (diff) | |
download | asb-ba62a9ecb8473bada43ccb4e98786bc05d2a2232.tar.gz asb-ba62a9ecb8473bada43ccb4e98786bc05d2a2232.tar.xz |
Remove unneeded docs and sample code
-rwxr-xr-x | xerces-c/build/xerces-c.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xerces-c/build/xerces-c.SlackBuild b/xerces-c/build/xerces-c.SlackBuild index fb9f3bbe..07c10d95 100755 --- a/xerces-c/build/xerces-c.SlackBuild +++ b/xerces-c/build/xerces-c.SlackBuild @@ -164,8 +164,13 @@ export XERCESCROOT=$TMP/tmp-$PRGNAM/${PRGNAM}-${VERSION} # Add documentation to the package: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true +# We don't want this: +rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/html/apiDocs chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/* +# We also don't want this: +rm -rf $PKG/usr/share/xerces-c/samples/Projects/Win32 + # Strip binaries: ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |