diff options
Diffstat (limited to 'development/universal-ctags/universal-ctags.SlackBuild')
-rw-r--r-- | development/universal-ctags/universal-ctags.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/development/universal-ctags/universal-ctags.SlackBuild b/development/universal-ctags/universal-ctags.SlackBuild index ffa9e363cc..b9a3f0da66 100644 --- a/development/universal-ctags/universal-ctags.SlackBuild +++ b/development/universal-ctags/universal-ctags.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=universal-ctags -VERSION=${VERSION:-f2d8a3d} -GITVERSION=${GITVERSION:-f2d8a3d9390dbfb84a5c64c4db344d104d9dc6e0} +VERSION=${VERSION:-29ae3cc} +GITVERSION=${GITVERSION:-29ae3cc01201d1bebd5309e436ea8e7e7643deb1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -86,8 +86,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -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 +# Generated only if rst2man is available. +if [ -d $PKG/usr/man ] +then + 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 +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION |