This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"./contrib/gcc_update --touch" doesn't work with make
- From: "H. J. Lu" <hjl at lucon dot org>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 29 Jun 2002 23:54:58 -0700
- Subject: "./contrib/gcc_update --touch" doesn't work with make
./contrib/gcc_update has
while ${MAKE-make} -f Makefile.$$ all | grep . > /dev/null; do
sleep 1
done 2>&1
It won't work at all if you run it inside a makefile. You will get
make[1]: Leaving directory `...'
make[1]: Entering directory `...'
instead of empty line. For gnu make, I think you can use
while ${MAKE-make} -s -f Makefile.$$ all | grep . > /dev/null; do
H.J.