Shouldn't `--avoid' work with `--extract-dependencies'? I propose the
following patch:
Index: gnulib-tool
===================================================================
RCS file: /cvsroot/gnulib/gnulib/gnulib-tool,v
retrieving revision 1.102
diff -p -u -r1.102 gnulib-tool
--- gnulib-tool 19 Jan 2006 09:05:56 -0000 1.102
+++ gnulib-tool 20 Jan 2006 14:33:08 -0000
@@ -537,7 +537,13 @@ func_get_dependencies ()
# ${module}-tests always implicitly depends on ${module}.
echo "$1" | sed -n -e 's/-tests//p'
# Then the explicit dependencies listed in the module description.
- sed -n -e "/^Depends-on$sed_extract_prog" < "$gnulib_dir/modules/$1"
+ sed -n -e "/^Depends-on$sed_extract_prog" < "$gnulib_dir/modules/$1" |
+ while read module
+ do
+ if func_acceptable $module; then
+ echo $module
+ fi
+ done
}
Regards,
Sergey
_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib