From 8332e23b30d51475756dc80e2ab180ff45006d83 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 14 Jan 2023 17:02:24 -0500 Subject: development/z88dk: Clean up doc dir. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/z88dk/z88dk.SlackBuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/development/z88dk/z88dk.SlackBuild b/development/z88dk/z88dk.SlackBuild index 93c0f78895..2636a2c267 100644 --- a/development/z88dk/z88dk.SlackBuild +++ b/development/z88dk/z88dk.SlackBuild @@ -14,12 +14,20 @@ # release doesn't, current git does). # 20210907 bkw: the above TODO still stands, but I don't have time to do # it right now (gearing up for 15.0 release). +# 20230114 bkw: I don't have time to deal with it right now, but +# z88dk-2.2 looks promising. Unfortunately I'll have to spend a week +# writing SlackBuilds for the 50 or so perl modules it requires, and I +# don't have a week right now. + +# 20230114 bkw: BUILD=2 +# - do not ship pre-compiled binaries in the doc dir +# - do not ship the windows installer cd $(dirname $0) ; CWD=$(pwd) PRGNAM=z88dk VERSION=${VERSION:-1.99B} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -117,6 +125,11 @@ for i in $CWD/man/*.1; do gzip -9c < $i > $PKG/usr/man/man1/$( basename $i ).gz done +# 20230114 bkw: do not ship executables in the doc dir. +rm -f support/bin2var/{bin2var,*.exe} +rm -f support/graphics/{z80svg,*.o} +rm -rf support/winstall + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README* LICENSE EXTENSIONS doc examples support \ $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3-65-gdbad