abuild: move /usr/share/help to -doc subpackage

This commit is contained in:
Natanael Copa 2013-10-31 12:55:23 +00:00
parent e4e991835e
commit 92a0f2da31

View File

@ -1226,7 +1226,7 @@ default_doc() {
arch=${arch_doc:-"noarch"} arch=${arch_doc:-"noarch"}
local i local i
for i in doc man info html sgml licenses gtk-doc ri; do for i in doc man info html sgml licenses gtk-doc ri help; do
if [ -d "$pkgdir/usr/share/$i" ]; then if [ -d "$pkgdir/usr/share/$i" ]; then
mkdir -p "$subpkgdir/usr/share" mkdir -p "$subpkgdir/usr/share"
mv "$pkgdir/usr/share/$i" "$subpkgdir/usr/share/" mv "$pkgdir/usr/share/$i" "$subpkgdir/usr/share/"