comparison gnulib-tool @ 11403:ec75c090b646

gnulib-tool: use $MAKE not make in generated files * gnulib-tool (func_create_megatestdir): Use $MAKE rather than make in generated files. Initialize $MAKE in the do-autobuild script. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
author Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
date Sat, 14 Mar 2009 17:06:42 +0100
parents f0359b41944f
children eb725d01cd4c
comparison
equal deleted inserted replaced
11402:0d3b0997a6df 11403:ec75c090b646
4246 -e 's,December,12,' -e 's,Dec,12,' \ 4246 -e 's,December,12,' -e 's,Dec,12,' \
4247 -e 's,^,00,' -e 's,^[0-9]*\([0-9][0-9] \),\1,' \ 4247 -e 's,^,00,' -e 's,^[0-9]*\([0-9][0-9] \),\1,' \
4248 -e 's,^\([0-9]*\) \([0-9]*\) \([0-9]*\),\3\2\1,'` 4248 -e 's,^\([0-9]*\) \([0-9]*\) \([0-9]*\),\3\2\1,'`
4249 (echo '#!/bin/sh' 4249 (echo '#!/bin/sh'
4250 echo "CVSDATE=$cvsdate" 4250 echo "CVSDATE=$cvsdate"
4251 echo ": \${MAKE=make}"
4251 echo "test -d logs || mkdir logs" 4252 echo "test -d logs || mkdir logs"
4252 echo "for module in $megasubdirs; do" 4253 echo "for module in $megasubdirs; do"
4253 echo " echo \"Working on module \$module...\"" 4254 echo " echo \"Working on module \$module...\""
4254 echo " safemodule=\`echo \$module | sed -e 's|/|-|g'\`" 4255 echo " safemodule=\`echo \$module | sed -e 's|/|-|g'\`"
4255 echo " (echo \"To: gnulib@autobuild.josefsson.org\"" 4256 echo " (echo \"To: gnulib@autobuild.josefsson.org\""
4257 echo " set -x" 4258 echo " set -x"
4258 echo " : autobuild project... \$module" 4259 echo " : autobuild project... \$module"
4259 echo " : autobuild revision... cvs-\$CVSDATE-000000" 4260 echo " : autobuild revision... cvs-\$CVSDATE-000000"
4260 echo " : autobuild timestamp... \`date \"+%Y%m%d-%H%M%S\"\`" 4261 echo " : autobuild timestamp... \`date \"+%Y%m%d-%H%M%S\"\`"
4261 echo " : autobuild hostname... \`hostname\`" 4262 echo " : autobuild hostname... \`hostname\`"
4262 echo " cd \$module && ./configure \$CONFIGURE_OPTIONS && make && make check && make distclean" 4263 echo " cd \$module && ./configure \$CONFIGURE_OPTIONS && \$MAKE && \$MAKE check && \$MAKE distclean"
4263 echo " echo rc=\$?" 4264 echo " echo rc=\$?"
4264 echo " ) 2>&1 | { if test -n \"\$AUTOBUILD_SUBST\"; then sed -e \"\$AUTOBUILD_SUBST\"; else cat; fi; } > logs/\$safemodule" 4265 echo " ) 2>&1 | { if test -n \"\$AUTOBUILD_SUBST\"; then sed -e \"\$AUTOBUILD_SUBST\"; else cat; fi; } > logs/\$safemodule"
4265 echo "done" 4266 echo "done"
4266 ) > "$megatestdir/do-autobuild" 4267 ) > "$megatestdir/do-autobuild"
4267 chmod a+x "$megatestdir/do-autobuild" 4268 chmod a+x "$megatestdir/do-autobuild"