Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
abuild
Commits
0c9cb860
Commit
0c9cb860
authored
Jan 07, 2009
by
Natanael Copa
Browse files
abuild: add depends_{doc,mod,dev} to depends in doc(),mod(),dev()
parent
b446f1bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
abuild
View file @
0c9cb860
...
...
@@ -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
)
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment