This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Running a plain ./config.status at top level
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- To: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Cc: Automake List <automake at gnu dot org>
- Date: Sun, 11 May 2003 17:20:10 -0500
- Subject: Re: Running a plain ./config.status at top level
- References: <mv465ppgeow.fsf@nostromo.lrde.epita.fr><2003-04-09-20-34-25+32318+duret_g@lrde.epita.fr><1106.82.64.23.203.1049914381.squirrel@www.lrde.epita.fr><2003-04-10-00-05-50+2954+duret_g@lrde.epita.fr><mv4vfwwqz4j.fsf@nostromo.lrde.epita.fr><20030430132717.A22688@telepres.com><2003-05-11-22-31-48+22048+duret_g@lrde.epita.fr>
Hi,
Alexandre Duret-Lutz <duret_g@lrde.epita.fr> writes:
>>>> "Eric" == Eric Siegerman <erics@telepres.com> writes:
> [...]
>
> Eric> But then, why not do the whole thing the "make" way, using "::"
> Eric> rules, rather than adding yet more embedded shell-scripting?
>
> This sounds really attractive, but I'm more concerned because
> ::-rules are not POSIX. Does someone know a Make implementation
> that doesn't support them? I've made a note to add a check for
> ::-rules to the Automake test suite, so we get reports if they
> don't work somewhere.
The Unix V7 make manual mentions double-colon rules. Here's an
excerpt for the troff source (manually formatted):
http://cm.bell-labs.com/7thEdMan/vol2/make
A dependency line may have either a single or a double colon.
A target name may appear on more than one dependency line, but all
of those lines must be of the same (single or double colon) type.
* For the usual single-colon case, at most one of these dependency
lines may have a command sequence associated with it. If the
target is out of date with any of the dependents on any of the
lines, and a command sequence is specified (even a null one
following a semicolon or tab), it is executed; otherwise a default
creation rule may be invoked.
* In the double-colon case, a command sequence may be associated
with each dependency line; if the target is out of date with any
of the files on a particular line, the associated commands are
executed.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu