diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-07 11:55:19 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-07 11:55:19 -0400 |
commit | 519d2138edf8fceadc09a58dc6b20a022152bb8a (patch) | |
tree | e54446862afa0ce582cf3c1fa24102233f3e459f /rules/generic/Makefile | |
parent | b37ee8ec5cd65daac932a70b6f507e51353e9d56 (diff) |
rules/*/Makefile: pull `exit ` into $(FAIL)
Diffstat (limited to 'rules/generic/Makefile')
-rw-r--r-- | rules/generic/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/generic/Makefile b/rules/generic/Makefile index c54d714..b80fc50 100644 --- a/rules/generic/Makefile +++ b/rules/generic/Makefile @@ -6,6 +6,7 @@ MAVEN_LOCAL_REPO ?= ~/.m2 # Utilities XMLSTARLET = xml +FAIL = exit 1 FIND = find JAVAC = javac INSTALL = install @@ -68,7 +69,7 @@ target/META-INF/maven/$(groupId)/$(artifactId)/pom.properties: pom.xml target/classes: $(call dep_optdir,$(sourceDirectory)) $(MKDIRS) $@ - @echo JAVAC; $(if $^,$(JAVAC) -d $@ $(filter %.java,$^) || { $(RM) -r $@; exit 1; }) + @echo $(JAVAC) -d $@ ...; $(if $^,$(JAVAC) -d $@ $(filter %.java,$^) || { $(RM) -r $@; $(FAIL); }) # install |