bug-make
[Top][All Lists]
Advanced

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

Re: mention converses


From: Paul Smith
Subject: Re: mention converses
Date: Mon, 27 Dec 2010 18:11:20 -0500

On Mon, 2010-12-27 at 16:19 +0800, address@hidden wrote:
> On (info "(make) Automatic Variables") you mention
> `$(@F)' is equivalent to `$(notdir $@)'.
> 
> But on (info "(make) File Name Functions") you don't mention the
> converse!
> 
> Nobody would have guessed there are shorter ways to write those things.

Only the automatic variables have special shorthand such as $(@F), etc.
$(notdir ...) works with any value, and so the documentation for that
function is generic and doesn't mention special cases that only work
with a limited number of variables.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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