|
Line
Link Here
|
| 0 |
-- gcc-3_4-branch/contrib/gcc_update |
0 |
++ gcc-4_0-branch/contrib/gcc_update |
|
Lines 123-129
Link Here
|
| 123 |
chat ' echo Touching $@... 1>&2; \' >> Makefile.$$ |
134 |
chat ' echo Touching $@... 1>&2; \' >> Makefile.$$ |
| 124 |
echo ' touch $@' >> Makefile.$$ |
135 |
echo ' touch $@' >> Makefile.$$ |
| 125 |
files_and_dependencies | sed 's,[^ ]* ,,;s,$, :,' >> Makefile.$$ |
136 |
files_and_dependencies | sed 's,[^ ]* ,,;s,$, :,' >> Makefile.$$ |
| 126 |
while ${MAKE-make} -s -f Makefile.$$ all | grep . > /dev/null; do |
137 |
|
|
|
138 |
# We would have to explicitly shut off the "Entering... Leaving..." |
| 139 |
# messages through "--no-print-directory" to handle the case when |
| 140 |
# we were called from a recursive invocation (i.e. "$(MAKE)" in a |
| 141 |
# Makefile, not just make). Passing only "-s" doesn't help then, |
| 142 |
# because make has helpfully added "-w" to MAKEFLAGS automatically. |
| 143 |
# Unfortunately we do not require GNU make other than for building |
| 144 |
# and testing, so let's just grep known text explicitly echoed by |
| 145 |
# the rule. |
| 146 |
while ${MAKE-make} -s -f Makefile.$$ all | grep Touching > /dev/null; do |
| 127 |
sleep 1 |
147 |
sleep 1 |
| 128 |
done 2>&1 |
148 |
done 2>&1 |
| 129 |
rm -f Makefile.$$ |
149 |
rm -f Makefile.$$ |