wok diff apcupsd/receipt @ rev 19295
barcode, xdotool, xmgrace, zfs-fuse, zsnes: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 17:14:38 2016 +0200 (2016-07-06) |
parents | f0a0b5091b4a |
children | ae1c8d5e635b |
line diff
1.1 --- a/apcupsd/receipt Mon Jul 04 10:05:09 2016 +0300 1.2 +++ b/apcupsd/receipt Wed Jul 06 17:14:38 2016 +0200 1.3 @@ -30,15 +30,12 @@ 1.4 $CONFIGURE_ARGS && 1.5 make && make install 1.6 1.7 - for i in 5 8; do 1.8 - mkdir -p $install/usr/share/man/man$i 1.9 - cp -a $src/doc/*.$i $install/usr/share/man/man$i 1.10 - done 1.11 - cook_compress_manpages 1.12 + cook_pick_manpages $src/doc/*.5 $src/doc/*.8 1.13 } 1.14 1.15 # Rules to gen a SliTaz package suitable for Tazpkg. 1.16 genpkg_rules() 1.17 { 1.18 cp -a $install/* $fs 1.19 + rm -r $fs/usr/share/man 1.20 }