summaryrefslogtreecommitdiff
path: root/xdelta3/run_release.sh
diff options
context:
space:
mode:
authorJosh MacDonald <josh.macdonald@gmail.com>2015-07-23 00:18:31 -0700
committerJosh MacDonald <josh.macdonald@gmail.com>2015-07-23 00:18:31 -0700
commitc6493c5a57e1edc95fa27123e86fe14c3695f284 (patch)
tree71923b72623d2346fa1a9b3951cd7855a7c80ad1 /xdelta3/run_release.sh
parente2a8a7b0529c99106783a719cbb0052c2616d6fd (diff)
run_release.sh fixes
Diffstat (limited to 'xdelta3/run_release.sh')
-rwxr-xr-xxdelta3/run_release.sh17
1 files changed, 12 insertions, 5 deletions
diff --git a/xdelta3/run_release.sh b/xdelta3/run_release.sh
index 89d2cc7..937c724 100755
--- a/xdelta3/run_release.sh
+++ b/xdelta3/run_release.sh
@@ -32,9 +32,12 @@ OSXTGTS=""
32OSXTEST1="" 32OSXTEST1=""
33OSXTEST2="" 33OSXTEST2=""
34 34
35TMP="${TMP}" 35XTMP="/tmp"
36if [ "${TMP}" == "" ]; then 36if [ "${TMP}" != "" ]; then
37 TMP="${TMPDIR}" 37 XTMP="${TMP}"
38fi
39if [ "${TMPDIR}" != "" ]; then
40 XTMP="${TMPDIR}"
38fi 41fi
39 42
40find build -type f 2> /dev/null | xargs rm 43find build -type f 2> /dev/null | xargs rm
@@ -192,7 +195,7 @@ fi
192 195
193cat > Makefile.test <<EOF 196cat > Makefile.test <<EOF
194# Auto-generated ${DATE} -*- Mode: Makefile -*- 197# Auto-generated ${DATE} -*- Mode: Makefile -*-
195TMP = ${TMP} 198TMP = ${XTMP}
196 199
197EOF 200EOF
198 201
@@ -216,9 +219,13 @@ buildall x86_64-w64-mingw32 -mconsole "${MINGW_CFLAGS}"
216cat >> Makefile.test <<EOF 219cat >> Makefile.test <<EOF
217 220
218all: linux windows apple 221all: linux windows apple
219
220clean: ${CLEAN} 222clean: ${CLEAN}
221 223
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
222linux: linux-build linux-selftest linux-regtest 229linux: linux-build linux-selftest linux-regtest
223windows: windows-build windows-selftest windows-regtest 230windows: windows-build windows-selftest windows-regtest
224apple: apple-build apple-selftest apple-regtest 231apple: apple-build apple-selftest apple-regtest