mention converses
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. Same for all the other items on those pages. $ make -v GNU Make 3.81 ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
Bug#608102: is the man page really 21 years old?
X-debbugs-Cc: bug-make@gnu.org Package: make Version: 3.81-8 Severity: wishlist Is the man page really GNU 22 August 1989 MAKE(1) 21 years old? Or even COPYRIGHT Copyright (C) 1992, 1993, 1996, 1999 Free Software Foundation, Inc. This file is part of GNU make. 11 years old? Cat looks much better, GNU coreutils 8.5 April 2010 CAT(1) P.S., the top is different too, MAKE(1) LOCAL USER COMMANDS MAKE(1) CAT(1) User Commands CAT(1) ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
Re: mention converses
On Mon, 2010-12-27 at 16:19 +0800, jida...@jidanni.org 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 psm...@gnu.org 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 ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
Re: mention converses
PS == Paul Smith psm...@gnu.org writes: PS On Mon, 2010-12-27 at 16:19 +0800, jida...@jidanni.org 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. PS Only the automatic variables have special shorthand such as $(@F), etc. PS $(notdir ...) works with any value, and so the documentation for that PS function is generic and doesn't mention special cases that only work PS with a limited number of variables. Do say 'for some things there are even shorter ways...' else sure felt foolish the day I discovered there was a shorter way all along. ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make