Alejandro Colomar wrote:
> I used the following:
>
> tmpdir := $(prefix)/tmp
Writing it like this has two drawbacks:
1) The user cannot force a specific temporary directory by setting
the TMPDIR environment variable. This may be blocking if the
default temporary directory has not enough room.
2) It creates one more directory that requires either regular attention
(so that it does not fill up over time) or a fascist policy of the
kind "let's remove the contents of this directory regularly".
Suggestion: Use ${TMPDIR-/tmp} instead.
See also [1].
Bruno
[1]
https://superuser.com/questions/332610/where-is-the-temporary-directory-in-linux