summaryrefslogtreecommitdiffstats
path: root/antiword/build
diff options
context:
space:
mode:
Diffstat (limited to 'antiword/build')
-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