git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
687e818
)
Don't compile files twice when the compilation fails.
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 25 Apr 2008 14:08:23 +0000
(15:08 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 25 Apr 2008 14:08:23 +0000
(15:08 +0100)
Andrew Bartlett
source/build/make/rules.mk
patch
|
blob
|
history
diff --git
a/source/build/make/rules.mk
b/source/build/make/rules.mk
index 541fa018db7c163972991c252548f1c0930a2be2..8c5b1fe6f34a84f0bfd6408e6afceb5ecc3f4dca 100644
(file)
--- a/
source/build/make/rules.mk
+++ b/
source/build/make/rules.mk
@@
-212,8
+212,7
@@
include/includes.d: include/includes.h
@-mkdir -p `dirname $@`
@$(COMPILE) && exit 0 ; \
echo "The following command failed:" 1>&2;\
- echo "$(COMPILE)" 1>&2;\
- $(COMPILE) >/dev/null 2>&1
+ echo "$(COMPILE)" 1>&2 && exit 1