diff options
author | Paul Smith <psmith@gnu.org> | 2022-09-11 10:56:08 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-09-11 10:56:08 -0400 |
commit | 86fc644dcc99c1bbf4764d9b324b723f7ea5ce04 (patch) | |
tree | 6851898fa9b4a020a7d7f720b0a8324d7f7894e4 /NEWS | |
parent | 02b3a6ad46b827684b923bf619009ac06297ece9 (diff) | |
download | make-git-86fc644dcc99c1bbf4764d9b324b723f7ea5ce04.tar.gz |
Support the MAKE_TMPDIR environment variable
Allow build systems to choose an alternative location for make to
store its temporary files.
* NEWS: Announce the new environment variable.
* doc/make.texi (Temporary Files): Provide documentation.
* src/misc.c (get_tmpdir): Split into a new function. Compute the
temporary directory and store it in a static location.
* tests/scripts/features/jobserver: Add a test of MAKE_TMPDIR.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -88,6 +88,14 @@ https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=109&se top-level invocation of GNU make, or via MAKEFLAGS or GNUMAKEFLAGS. To detect this change search for 'jobserver-fifo' in the .FEATURES variable. +* New feature: The MAKE_TMPDIR environment variable + If you prefer that GNU make place temporary files in a different directory + than the standard TMPDIR (or TMP or TEMP on Windows), set the MAKE_TMPDIR + environment variable before starting make (this value CANNOT be set inside + the makefile, since make needs to find its temporary directory before the + makefiles are parsed). This is useful for build systems which reset TMPDIR + and clean it out during the build process. + * Some POSIX systems (*BSD) do not allow locks to be taken on pipes, which caused the output sync feature to not work properly there. Also multiple invocations of make redirecting to the same output file (e.g., /dev/null) |