summaryrefslogtreecommitdiff
path: root/devdocs/gnu_make/_002dw-option.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gnu_make/_002dw-option.html
new repository
Diffstat (limited to 'devdocs/gnu_make/_002dw-option.html')
-rw-r--r--devdocs/gnu_make/_002dw-option.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/devdocs/gnu_make/_002dw-option.html b/devdocs/gnu_make/_002dw-option.html
new file mode 100644
index 00000000..ea3a0ca1
--- /dev/null
+++ b/devdocs/gnu_make/_002dw-option.html
@@ -0,0 +1,10 @@
+ <h1 class="subsection">The ‘--print-directory’ Option</h1> <p>If you use several levels of recursive <code>make</code> invocations, the ‘<samp>-w</samp>’ or ‘<samp><span class="nolinebreak">--print-directory</span></samp>’ option can make the output a lot easier to understand by showing each directory as <code>make</code> starts processing it and as <code>make</code> finishes processing it. For example, if ‘<samp>make -w</samp>’ is run in the directory <samp>/u/gnu/make</samp>, <code>make</code> will print a line of the form: </p> <div class="example"> <pre class="example">make: Entering directory `/u/gnu/make'.
+</pre>
+</div> <p>before doing anything else, and a line of the form: </p> <div class="example"> <pre class="example">make: Leaving directory `/u/gnu/make'.
+</pre>
+</div> <p>when processing is completed. </p> <p>Normally, you do not need to specify this option because ‘<samp>make</samp>’ does it for you: ‘<samp>-w</samp>’ is turned on automatically when you use the ‘<samp>-C</samp>’ option, and in sub-<code>make</code>s. <code>make</code> will not automatically turn on ‘<samp>-w</samp>’ if you also use ‘<samp>-s</samp>’, which says to be silent, or if you use ‘<samp>--no-print-directory</samp>’ to explicitly disable it. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright © 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Free Software Foundation, Inc. <br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/make/manual/html_node/_002dw-Option.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/_002dw-Option.html</a>
+ </p>
+</div>