automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what is this shell call trying to solve?


From: Alexandre Duret-Lutz
Subject: Re: what is this shell call trying to solve?
Date: Tue, 22 Jan 2002 18:52:19 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu)

>>> "Tom" == Tom Tromey <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]