bug-make
[Top][All Lists]
Advanced

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

Misplaced paragraph


From: Dan Jacobson
Subject: Misplaced paragraph
Date: Sun, 02 Jun 2024 06:39:20 +0800

In (info "(make) File Name Functions")
be sure to move the paragraph I have marked with X's,
AFTER the example.


'$(notdir NAMES...)'
     Extracts all but the directory-part of each file name in NAMES.  If
     the file name contains no slash, it is left unchanged.  Otherwise,
     everything through the last slash is removed from it.

X    A file name that ends with a slash becomes an empty string.  This
X    is unfortunate, because it means that the result does not always
X    have the same number of whitespace-separated file names as the
X    argument had; but we do not see any other valid alternative.

     For example,

          $(notdir src/foo.c hacks)

     produces the result 'foo.c hacks'.




reply via email to

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