>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:
[...]
Tom> Even finding a way to reject non-srcdir builds for non-GNU make won't
Tom> help here.
At least it would help to clean up the _implicit_ rules,
wouldn't it?
Some people seems to not like this at all. The following
excerpt comes from gettext-0.11-pre1:
AC_OUTPUT([Makefile \
lib/Makefile lib/javacomp.sh lib/javaexec.sh \
intl/Makefile intl-java/Makefile \
src/Makefile src/user-email \
po/Makefile.in \
doc/Makefile man/Makefile man/x-to-1 \
tests/Makefile \
m4/Makefile \
projects/Makefile \
misc/Makefile misc/gettextize], [
dnl Fix unesthetic build commands generated by automake.
changequote(,)dnl
for m in lib/Makefile src/Makefile tests/Makefile; do
sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $m > $m.tmp
mv $m.tmp $m
done
changequote([, ])dnl
])
--
Alexandre Duret-Lutz