From 313f4a497daaecc14773af4823dc643b32726b83 Mon Sep 17 00:00:00 2001 From: Alexandre Lision Date: Thu, 2 Jul 2015 11:33:19 -0400 Subject: [PATCH] builddir: use predefined BUILDDIR This commit allows user to control where Sparkle will be build --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8dfd43bc..d3867c17 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ .PHONY: all localizable-strings release build test travis -BUILDDIR := $(shell mktemp -d "$(TMPDIR)/Sparkle.XXXXXX") +ifndef BUILDDIR + BUILDDIR := $(shell mktemp -d "$(TMPDIR)/Sparkle.XXXXXX") +endif localizable-strings: rm -f Sparkle/en.lproj/Sparkle.strings