summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-13 15:54:52 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:26 +0700
commit5ee03d28c7d2c264bae061aff194025db956d67a (patch)
tree088e875856a04d7b2e453038ec690ee403817b38 /system
parent02cb0605bac0e9177508040ffd1b68b436226527 (diff)
downloadslackbuilds-5ee03d28c7d2c264bae061aff194025db956d67a.tar.gz
system/rabbitmq-server: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/rabbitmq-server/rabbitmq-server.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/system/rabbitmq-server/rabbitmq-server.SlackBuild b/system/rabbitmq-server/rabbitmq-server.SlackBuild
index 56d05767fd..dad1b60622 100644
--- a/system/rabbitmq-server/rabbitmq-server.SlackBuild
+++ b/system/rabbitmq-server/rabbitmq-server.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220413 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty files (cruft) from doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rabbitmq-server
VERSION=${VERSION:-3.8.14}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -90,9 +93,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
make
make docs
@@ -140,6 +143,9 @@ while read file
do
install -m 644 $file $PKG/usr/doc/$PRGNAM-$VERSION/${file/deps\//}
done
+
+find $PKG/usr/doc/$PRGNAM-$VERSION -depth -empty | xargs rm -rf
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install