wok diff apcupsd/receipt @ rev 19265

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 10:05:09 2016 +0300 (2016-07-04)
parents 617dbdeb6f7e
children 11b5e93cb5f2
line diff
     1.1 --- a/apcupsd/receipt	Wed Oct 02 13:07:29 2013 +0000
     1.2 +++ b/apcupsd/receipt	Mon Jul 04 10:05:09 2016 +0300
     1.3 @@ -15,7 +15,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	sed -i 's/src platforms doc/src platforms/' Makefile
     1.9  	SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
    1.10  		--enable-usb \
    1.11 @@ -30,6 +29,12 @@
    1.12  		--mandir=/usr/share/man \
    1.13  		$CONFIGURE_ARGS &&
    1.14  	make && make install
    1.15 +
    1.16 +	for i in 5 8; do
    1.17 +		mkdir -p $install/usr/share/man/man$i
    1.18 +		cp -a $src/doc/*.$i $install/usr/share/man/man$i
    1.19 +	done
    1.20 +	cook_compress_manpages
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.