]> git.ipfire.org Git - thirdparty/make.git/commit
Support the MAKE_TMPDIR environment variable
authorPaul Smith <psmith@gnu.org>
Sun, 11 Sep 2022 14:56:08 +0000 (10:56 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 11 Sep 2022 14:56:08 +0000 (10:56 -0400)
commit86fc644dcc99c1bbf4764d9b324b723f7ea5ce04
tree6851898fa9b4a020a7d7f720b0a8324d7f7894e4
parent02b3a6ad46b827684b923bf619009ac06297ece9
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.
NEWS
doc/make.texi
src/misc.c
tests/scripts/features/jobserver