diff --git a/abuild b/abuild
index cdfe931324bb1c7a9b49a8c273363728e24e8b66..b9dc3c39d556d911cfa996129ffe2532101bc9fa 100755
--- a/abuild
+++ b/abuild
@@ -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"