link: "Recursive Make Considered Harmful"
jonas at kirilla.com
Wed Jan 12 05:26:17 PST 2005
Andrew Hacking <ahacking at xxxxxxxxxxxxxxx> wrote:
> My interpretation of the documentation was that it is impossible to
> invoke an external tool and assign the output of a command to a
> variable. This seemed a serious limitation _if_ that is the case,
> rules out interfacing source code control systems, or whatever.
It looks possible, but I'm not that familiar with Jam.
case "$target" in
$(RM) "$(1)" && $(LN) -s "$target" "$(1)"
Snippet taken from here:
(top level Jamfile and Jamrules)
Two sub Jamfiles. Looks simple enough:
/Jonas Sundström. www.kirilla.com
More information about the Kernel