diff options
author | ru <ru@FreeBSD.org> | 2003-09-14 12:31:33 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-09-14 12:31:33 +0000 |
commit | 7ad89d9544793f73cd7d3d7d7f44562f89a49bcd (patch) | |
tree | 1cea0f2344264c01652889b9f3cbc0119cb30b33 /usr.bin/make/make.1 | |
parent | 50888524cab7543731fcbf46443bd1644d900523 (diff) | |
download | FreeBSD-src-7ad89d9544793f73cd7d3d7d7f44562f89a49bcd.zip FreeBSD-src-7ad89d9544793f73cd7d3d7d7f44562f89a49bcd.tar.gz |
- Cut out the code that caches the "." directory out of Dir_Init()
into a separate function, Dir_InitDot().
- Postpone the current and object directories detection (and caching
of the "." directory) until after all command line arguments are
parsed. This makes the -C option DTRT.
PR: bin/47149
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r-- | usr.bin/make/make.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index 54defed..2523b0b 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -92,7 +92,13 @@ is used. .It Fl C Ar directory Change to .Ar directory -while running. +before reading the makefiles or doing anything else. +If multiple +.Fl C +options are specified, each is interpreted relative to the previous one: +.Fl C Pa / Fl C Pa etc +is equivalent to +.Fl C Pa /etc . .It Fl D Ar variable Define .Ar variable |