Commit 0c9cb860 authored by Natanael Copa's avatar Natanael Copa

abuild: add depends_{doc,mod,dev} to depends in doc(),mod(),dev()

parent b446f1bd
......@@ -308,7 +308,7 @@ package() {
# predefined splitfunc doc
doc() {
depends=""
depends="$depends_doc"
local i
for i in doc man info html sgml; do
if [ -d "$pkgdir/usr/share/$i" ]; then
......@@ -332,7 +332,7 @@ doc() {
# predefined splitfunc mod
mod() {
depends="$kernel"
depends="$kernel $depends_mod"
for i in firmware modules; do
if [ -d "$pkgdir/lib/$i" ]; then
rm -rf "$subpkgdir/lib"
......@@ -344,7 +344,7 @@ mod() {
# predefined splitfunc dev
dev() {
depends="$pkgname"
depends="$pkgname $depends_dev"
cd "$pkgdir" || return 0
for i in cd $(find usr/lib -name '*.a' -o \
-name '*.la' -o -name '*.o' 2>/dev/null) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment