mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-07 14:56:06 +00:00
Formerly make.texinfo.~127~
This commit is contained in:
parent
23e64a0b13
commit
7f534ea595
1 changed files with 13 additions and 12 deletions
25
make.texinfo
25
make.texinfo
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
@set EDITION 0.45
|
@set EDITION 0.45
|
||||||
@set VERSION 3.71 Beta
|
@set VERSION 3.71 Beta
|
||||||
@set UPDATED 19 January 1994
|
@set UPDATED 25 January 1994
|
||||||
@set UPDATE-MONTH January 1994
|
@set UPDATE-MONTH January 1994
|
||||||
|
|
||||||
@c finalout
|
@c finalout
|
||||||
|
@ -7114,23 +7114,24 @@ lib: foo.o bar.o lose.o win.o
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Of the variables listed above, four have values that are single file
|
Of the variables listed above, four have values that are single file
|
||||||
names, and two have values that are lists of file names. These six
|
names, and two have values that are lists of file names. These six have
|
||||||
have variants that get just the file's directory name or just the file
|
variants that get just the file's directory name or just the file name
|
||||||
name within the directory. The variant variables' names are formed by
|
within the directory. The variant variables' names are formed by
|
||||||
appending @samp{D} or @samp{F}, respectively. These variants are
|
appending @samp{D} or @samp{F}, respectively. These variants are
|
||||||
semi-obsolete in GNU @code{make} since the functions @code{dir} and
|
semi-obsolete in GNU @code{make} since the functions @code{dir} and
|
||||||
@code{notdir} can be used to get an equivalent effect (@pxref{Filename
|
@code{notdir} can be used to get a similar effect (@pxref{Filename
|
||||||
Functions, , Functions for File Names}). Here is a table of the
|
Functions, , Functions for File Names}). Note, however, that the
|
||||||
variants:@refill
|
@samp{F} variants all omit the trailing slash which always appears in
|
||||||
|
the output of the @code{dir} function. Here is a table of the variants:
|
||||||
|
|
||||||
@table @samp
|
@table @samp
|
||||||
@vindex $(@@D)
|
@vindex $(@@D)
|
||||||
@vindex @@D @r{(automatic variable)}
|
@vindex @@D @r{(automatic variable)}
|
||||||
@item $(@@D)
|
@item $(@@D)
|
||||||
The directory part of the file name of the target. If the value of
|
The directory part of the file name of the target, with the trailing
|
||||||
@samp{$@@} is @file{dir/foo.o} then @samp{$(@@D)} is @file{dir/}.
|
slash removed. If the value of @samp{$@@} is @file{dir/foo.o} then
|
||||||
This value is @file{./} if @samp{$@@} does not contain a slash.
|
@samp{$(@@D)} is @file{dir}. This value is @file{.} if @samp{$@@} does
|
||||||
@samp{$(@@D)} is equivalent to @w{@samp{$(dir $@@)}}.@refill
|
not contain a slash.
|
||||||
|
|
||||||
@vindex $(@@F)
|
@vindex $(@@F)
|
||||||
@vindex @@F @r{(automatic variable)}
|
@vindex @@F @r{(automatic variable)}
|
||||||
|
@ -7146,7 +7147,7 @@ value of @samp{$@@} is @file{dir/foo.o} then @samp{$(@@F)} is
|
||||||
@vindex *F @r{(automatic variable)}
|
@vindex *F @r{(automatic variable)}
|
||||||
@itemx $(*F)
|
@itemx $(*F)
|
||||||
The directory part and the file-within-directory
|
The directory part and the file-within-directory
|
||||||
part of the stem; @file{dir/} and @file{foo} in this example.
|
part of the stem; @file{dir} and @file{foo} in this example.
|
||||||
|
|
||||||
@vindex $(%D)
|
@vindex $(%D)
|
||||||
@vindex %D @r{(automatic variable)}
|
@vindex %D @r{(automatic variable)}
|
||||||
|
|
Loading…
Reference in a new issue