Commit 27ba1dbc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Generate Makefile.am in directories with Modules.am

...rather than in all modules/* directories
parent f5bf7ad8
...@@ -91,7 +91,13 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], , :, [\$4])]) ...@@ -91,7 +91,13 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], , :, [\$4])])
EOF EOF
fi fi
sh modules/genmf `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac` find modules/ -name Modules.am | \
sed -ne 's,modules/\(.*\)/Modules.am,\1,p' | \
while read d; do
sh modules/genmf "$d"
printf "."
done
printf "\n"
### ###
### classic bootstrap stuff ### classic bootstrap stuff
......
...@@ -11,7 +11,6 @@ cd $(dirname "$0")/.. || exit 1 ...@@ -11,7 +11,6 @@ cd $(dirname "$0")/.. || exit 1
while test "$1" while test "$1"
do do
printf "."
dir="$1" dir="$1"
modf="modules/${dir}/Modules.am" modf="modules/${dir}/Modules.am"
if ! test -f "$modf"; then if ! test -f "$modf"; then
...@@ -69,4 +68,3 @@ EOF ...@@ -69,4 +68,3 @@ EOF
shift shift
done done
printf "\n"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment