summaryrefslogtreecommitdiffstats
path: root/antiword
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-11-19 21:35:24 +0000
committer Eric Hameleers <alien@slackware.com>2007-11-19 21:35:24 +0000
commitfe24283a72c1aa9db6567fd6db2268e473d0d9eb (patch)
treeb5b21a91ca34e369e005b63052218e78e09aaaad /antiword
parent7c36e4a1cc13c6134663b0e35c33e9b8f4da5fbf (diff)
downloadasb-fe24283a72c1aa9db6567fd6db2268e473d0d9eb.tar.gz
asb-fe24283a72c1aa9db6567fd6db2268e473d0d9eb.tar.xz
Fix some install commands
Diffstat (limited to 'antiword')
-rwxr-xr-xantiword/build/antiword.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/antiword/build/antiword.SlackBuild b/antiword/build/antiword.SlackBuild
index dd4542ea..b3683048 100755
--- a/antiword/build/antiword.SlackBuild
+++ b/antiword/build/antiword.SlackBuild
@@ -158,9 +158,11 @@ export CFLAGS="$SLKCFLAGS"
make all 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
# Install all the needed stuff to the package dir
-install -D -m 755 antiword $PKG/usr/bin/
-install -D -m 644 Resources/* $PKG/usr/share/antiword/
-install -D -m 644 Docs/*.1 $PKG/usr/man/man1/
+install -D -m 755 antiword $PKG/usr/bin/antiword
+mkdir -p $PKG/usr/share/antiword/
+cp -a Resources/* $PKG/usr/share/antiword/
+mkdir -p $PKG/usr/man/man1/
+cp -a Docs/*.1 $PKG/usr/man/man1/
# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION