diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-07 13:02:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-07 13:02:44 +0000 |
commit | 0b2f41e9d9f502c5e7be9852e30ea3c2baef9639 (patch) | |
tree | 6cd681fb8ab445eeac890407619d8cf5b54c0337 | |
parent | 162f34d0dad40280c66fdd81863b7ec16c4c0898 (diff) | |
download | abuild-0b2f41e9d9f502c5e7be9852e30ea3c2baef9639.tar.gz abuild-0b2f41e9d9f502c5e7be9852e30ea3c2baef9639.tar.bz2 abuild-0b2f41e9d9f502c5e7be9852e30ea3c2baef9639.tar.xz abuild-0b2f41e9d9f502c5e7be9852e30ea3c2baef9639.zip |
abuild: consider all .a .c .h .o files as dev files
Also any /usr/share/gettext dir.
-rwxr-xr-x | abuild | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" |