Configure and build tuning
[melted] / src / modules / configure
index 365fe43..1a7b749 100755 (executable)
@@ -3,6 +3,9 @@
 # Clean up disables if not in help mode
 [ "$help" != "1" ] && rm -f disable-* producers.dat filters.dat transitions.dat consumers.dat
 
+# Create the make.inc file
+echo SUBDIRS = `find -type d -maxdepth 1 | grep -v CVS | grep -v "^.$" | sed 's/\.\///'` > make.inc
+
 # Iterate through arguments
 for i in $*
 do
@@ -16,7 +19,7 @@ for i in *
 do
        if [ -x $i/configure -a \( "$help" = "1" -o ! -f disable-$i \) ]
        then
-               echo "Configuring $i:"
+               [ "$help" = "0" ] && echo "Configuring modules/$i:"
                pushd $i > /dev/null
                ./configure $@
                [ $? != 0 ] && exit 1