abuild: make licenses a part of -doc packages

This commit is contained in:
Natanael Copa 2009-01-30 09:42:30 +00:00
parent b529d81469
commit 102c460635

2
abuild
View File

@ -321,7 +321,7 @@ package() {
doc() { doc() {
depends="$depends_doc" depends="$depends_doc"
local i local i
for i in doc man info html sgml; do for i in doc man info html sgml licenses; 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/"