File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,12 @@ OSXTGTS=""
3232OSXTEST1=" "
3333OSXTEST2=" "
3434
35- TMP=" ${TMP} "
36- if [ " ${TMP} " == " " ]; then
37- TMP=" ${TMPDIR} "
35+ XTMP=" /tmp"
36+ if [ " ${TMP} " != " " ]; then
37+ XTMP=" ${TMP} "
38+ fi
39+ if [ " ${TMPDIR} " != " " ]; then
40+ XTMP=" ${TMPDIR} "
3841fi
3942
4043find build -type f 2> /dev/null | xargs rm
192195
193196cat > Makefile.test << EOF
194197# Auto-generated ${DATE} -*- Mode: Makefile -*-
195- TMP = ${TMP }
198+ TMP = ${XTMP }
196199
197200EOF
198201
@@ -216,9 +219,13 @@ buildall x86_64-w64-mingw32 -mconsole "${MINGW_CFLAGS}"
216219cat >> Makefile.test << EOF
217220
218221all: linux windows apple
219-
220222clean: ${CLEAN}
221223
224+ .PHONY: linux windows apple
225+ .PHONY: linux-build windows-build apple-build
226+ .PHONY: linux-selftest windows-selftest apple-selftest
227+ .PHONY: linux-regtest windows-regtest apple-regtest
228+
222229linux: linux-build linux-selftest linux-regtest
223230windows: windows-build windows-selftest windows-regtest
224231apple: apple-build apple-selftest apple-regtest
You can’t perform that action at this time.
0 commit comments