wok rev 19270

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 16:42:08 2016 +0300 (2016-07-04)
parents 7f39549720b8
children 3f734171c28e
files atril/receipt
line diff
     1.1 --- a/atril/receipt	Mon Jul 04 14:47:05 2016 +0300
     1.2 +++ b/atril/receipt	Mon Jul 04 16:42:08 2016 +0300
     1.3 @@ -26,17 +26,12 @@
     1.4  	make &&
     1.5  	make DESTDIR=$DESTDIR install
     1.6  
     1.7 -	mkdir -p $install/usr/share/man/man1
     1.8 -	cp $src/data/atril.1 $install/usr/share/man/man1
     1.9  	cook_compress_manpages
    1.10  }
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	# Saving some space
    1.16 -	rm -rf $install/usr/share/man
    1.17 -	rm -rf $install/usr/share/help
    1.18  	mkdir -p $fs/usr/lib
    1.19  
    1.20  	cp -a $install/usr/bin $fs/usr
    1.21 @@ -46,6 +41,9 @@
    1.22  	cp -a $install/usr/lib/atril $fs/usr/lib
    1.23  	cp -a $install/usr/lib/caja $fs/usr/lib
    1.24  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25 +	# Saving some space
    1.26 +	rm -rf $fs/usr/share/man
    1.27 +	rm -rf $fs/usr/share/help
    1.28  }
    1.29  
    1.30  post_remove()