Commit 0b2f41e9 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: consider all .a .c .h .o files as dev files

Also any /usr/share/gettext dir.
parent 162f34d0
......@@ -346,10 +346,9 @@ mod() {
dev() {
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) \
for i in cd $(find usr/ -name '*.[acho]' -o -name '*.la' 2>/dev/null)\
usr/include usr/lib/pkgconfig usr/share/aclocal \
usr/bin/*-config ; do
usr/share/gettext usr/bin/*-config ; do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
d="$subpkgdir/${i%/*}" # dirname $i
mkdir -p "$d"
......
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