aboutsummaryrefslogtreecommitdiff
path: root/office/lyx/lyx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/lyx/lyx.SlackBuild')
-rw-r--r--office/lyx/lyx.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index 0d44e04973d68..f688a211aed55 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for LyX
# Copyright 2007 Martin Lefebvre <dadexter@sekurity.com>
+# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
+
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -63,6 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--enable-shared \
--with-frontend=${_FRONTEND} \
--with-qt-dir=/usr/lib/qt \
@@ -81,6 +84,11 @@ make install DESTDIR=$PKG || exit 1
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
for i in $(find . -type l); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)