summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-09-14 12:31:33 +0000
committerru <ru@FreeBSD.org>2003-09-14 12:31:33 +0000
commit7ad89d9544793f73cd7d3d7d7f44562f89a49bcd (patch)
tree1cea0f2344264c01652889b9f3cbc0119cb30b33 /usr.bin/make/make.1
parent50888524cab7543731fcbf46443bd1644d900523 (diff)
downloadFreeBSD-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.18
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
OpenPOWER on IntegriCloud