diff --git a/abuild b/abuild index d4ef499c2c702f2ec5783a95d580f2892d4e7cf7..6f3f3f9d2f51ec9893b712cffdfce901fbfbdf34 100755 --- a/abuild +++ b/abuild @@ -327,7 +327,7 @@ package() { } # predefined splitfunc doc -doc() { +default_doc() { depends="$depends_doc" local i for i in doc man info html sgml licenses; do @@ -350,8 +350,12 @@ doc() { return 0 } +doc() { + default_doc +} + # predefined splitfunc mod -mod() { +default_mod() { depends="$kernel $depends_mod" for i in firmware modules; do if [ -d "$pkgdir/lib/$i" ]; then @@ -362,8 +366,12 @@ mod() { done } +mod() { + default_mod +} + # predefined splitfunc dev -dev() { +default_dev() { depends="$pkgname $depends_dev" cd "$pkgdir" || return 0 for i in usr/include usr/lib/pkgconfig usr/share/aclocal\ @@ -381,6 +389,10 @@ dev() { return 0 } +dev() { + default_dev +} + # build and package in fakeroot rootpkg() { cd "$startdir"