Mercurial > hg > release > thermostat-0.7
changeset 746:c8985141906e
Set Makefile variables conditionally
This patch changes the Makefile to set values to the configuration
variables only if they have not already been set. This allows us to use
defaults, but also allow alternatives to be specified on the command line.
Reviewed-by: neugens
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-October/003929.html
author | Elliott Baron <ebaron@redhat.com> |
---|---|
date | Thu, 25 Oct 2012 14:57:17 -0400 |
parents | 8beb773bfe8b |
children | bc6fadf5ceaa |
files | Makefile |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Oct 25 13:47:01 2012 -0400 +++ b/Makefile Thu Oct 25 14:57:17 2012 -0400 @@ -1,7 +1,7 @@ -MAVEN = mvn -SKIP_TESTS = false -REPO_LOC = $(HOME)/.thermostat/.build/mvn_repository -MAVEN_FLAGS = +MAVEN ?= mvn +SKIP_TESTS ?= false +REPO_LOC ?= $(HOME)/.thermostat/.build/mvn_repository +MAVEN_FLAGS ?= # # Do not change anything below