summaryrefslogtreecommitdiffstats
path: root/dosbox
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2006-07-28 21:02:09 +0000
committer Eric Hameleers <alien@slackware.com>2006-07-28 21:02:09 +0000
commitecfbb418fd61021e4456f8e5c16f87c995da895c (patch)
tree277021e3e1d27e5beded032754239fa42106ba20 /dosbox
parent126e54907869547c0f6a7dac6563af02a315def8 (diff)
downloadasb-ecfbb418fd61021e4456f8e5c16f87c995da895c.tar.gz
asb-ecfbb418fd61021e4456f8e5c16f87c995da895c.tar.xz
Fixed an error in the script, fixed DOCS entries
Diffstat (limited to 'dosbox')
-rwxr-xr-xdosbox/build/dosbox.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dosbox/build/dosbox.SlackBuild b/dosbox/build/dosbox.SlackBuild
index 3d86a116..4d8d10c0 100755
--- a/dosbox/build/dosbox.SlackBuild
+++ b/dosbox/build/dosbox.SlackBuild
@@ -34,8 +34,7 @@ VERSION=0.65
ARCH=${ARCH:-i486}
BUILD=1
-DOCS="ABOUT* AUTHORS BUGS ChangeLog* COPYING CREDITS FAQ GPL* HACKING \
- LICENSE MAINTAINERS NEWS README* TODO"
+DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO"
# If you have more source files, list them here as SOURCE[1], SOURCE[2], etc.
# If you know the URL for a source file, you can put that into the SRCURL[]
@@ -177,9 +176,9 @@ cp -a $DOCS \
chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/*
# Move incorrectly installed man pages, if any
-mv $PKG/usr/share/man $PKG/usr/ && rmdir $PKG/usr/share
+[ -d $PKG/usr/share/man ] && mv $PKG/usr/share/man $PKG/usr/ && rmdir $PKG/usr/share
# Compress the man page(s)
-find PKG/usr/man -type f -name *.? -exec gzip -9f {} \;
+find $PKG/usr/man -type f -exec gzip -9f {} \;
# Strip binaries