summaryrefslogtreecommitdiff
path: root/devdocs/gnu_make/temporary-files.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/gnu_make/temporary-files.html')
-rw-r--r--devdocs/gnu_make/temporary-files.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/gnu_make/temporary-files.html b/devdocs/gnu_make/temporary-files.html
new file mode 100644
index 00000000..7c0de6ec
--- /dev/null
+++ b/devdocs/gnu_make/temporary-files.html
@@ -0,0 +1,6 @@
+ <h1 class="section">Temporary Files</h1> <p>In some situations, <code>make</code> will need to create its own temporary files. These files must not be disturbed while <code>make</code> is running, including all recursively-invoked instances of <code>make</code>. </p> <p>If the environment variable <code>MAKE_TMPDIR</code> is set then all temporary files created by <code>make</code> will be placed there. </p> <p>If <code>MAKE_TMPDIR</code> is not set, then the standard location for temporary files for the current operating system will be used. For POSIX systems this will be the location set in the <code>TMPDIR</code> environment variable, or else the system’s default location (e.g., <samp>/tmp</samp>) is used. On Windows, first <code>TMP</code> then <code>TEMP</code> will be checked, then <code>TMPDIR</code>, and finally the system default temporary file location will be used. </p> <p>Note that this directory must already exist or <code>make</code> will fail: <code>make</code> will not attempt to create it. </p> <p>These variables <em>cannot</em> be set from within a makefile: GNU <code>make</code> must have access to this location before it begins reading the makefiles. </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/Temporary-Files.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Temporary-Files.html</a>
+ </p>
+</div>