summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-25 16:10:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 07:23:48 +0700
commit06d3ce53013095ac4ca262ff5eb3b5b66bb69dba (patch)
treee45f44c15c52e944f2a2f68cdb8f87c2f1282999
parent23709ba875786036cfbd2db1f08f7c7a7ccf18aa (diff)
downloadslackbuilds-06d3ce53013095ac4ca262ff5eb3b5b66bb69dba.tar.gz
gis/gdal: Fixed to remove manpage junk.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--gis/gdal/gdal.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 01d4257d88..a193662749 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -150,6 +150,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
make -f GNUmakefile -B man
make install-man DESTDIR=$PKG
+# smite some junk files
+rm -f $PKG/usr/man/man1/_*_.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done