diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-11 22:10:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-11 22:10:56 +0000 |
commit | e81ebe1981baf91de1dbacd33f685371063aa0aa (patch) | |
tree | 2f282f900d6f855eae365ecb868da154029a22ba /abuild | |
parent | 3a201f6600f75b84916eaf6d4fdc74addb32a6ac (diff) | |
download | abuild-e81ebe1981baf91de1dbacd33f685371063aa0aa.tar.gz abuild-e81ebe1981baf91de1dbacd33f685371063aa0aa.tar.bz2 abuild-e81ebe1981baf91de1dbacd33f685371063aa0aa.tar.xz abuild-e81ebe1981baf91de1dbacd33f685371063aa0aa.zip |
abuild: consider all subdirs named 'include' belong to -dev
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -346,9 +346,11 @@ mod() { dev() { depends="$pkgname $depends_dev" cd "$pkgdir" || return 0 - for i in cd $(find usr/ -name '*.[acho]' -o -name '*.la' 2>/dev/null)\ - usr/include usr/lib/pkgconfig usr/share/aclocal \ - usr/share/gettext usr/bin/*-config ; do + for i in usr/include usr/lib/pkgconfig usr/share/aclocal\ + usr/share/gettext usr/bin/*-config \ + $(find -name include -type d) \ + $(find usr/ -name '*.[acho]' -o -name '*.la' \ + 2>/dev/null); do if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then d="$subpkgdir/${i%/*}" # dirname $i mkdir -p "$d" |