https://github.com/BestImageViewer/geeqie/issues/978
Variable TMPDIR is not necessarily set.
export INLINE_SOURCES=NO
export STRIP_CODE_COMMENTS=YES
export INLINE_SOURCES=NO
export STRIP_CODE_COMMENTS=YES
-TMPFILE=$(mktemp "$TMPDIR/geeqie.XXXXXXXX") || exit 1
+TMPFILE=$(mktemp "${TMPDIR:-/tmp}/geeqie.XXXXXXXX") || exit 1
# Modify the Geeqie doxygen.conf file to produce
# only the data needed for the lua API document
# Modify the Geeqie doxygen.conf file to produce
# only the data needed for the lua API document