summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-09-19 19:02:52 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-09-19 19:02:52 +0000
commitf6ce6f76fba5c064e52395e029caba6c26b32fa0 (patch)
tree18434a854599d8a9d16a9c4d2a9eb517df59f0ae /Makefile.in
parent6a17580455c740b26634da77cf7e2e523659d0fa (diff)
downloadquilt-f6ce6f76fba5c064e52395e029caba6c26b32fa0.tar.gz
- Avoid spurious rebuilds because of unnecessary chmod.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index ffbb86e..c535c66 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -125,7 +125,9 @@ all : scripts compat-programs $(if $(MSGFMT),$(LINGUAS:%=po/%.mo))
.PHONY :: compat-programs
compat-programs : $(COMPAT_PROGRAMS:%=compat/%)
- $(if $+,chmod +x $+)
+ @for program in $+; do \
+ test -x $$program || chmod +x $$program; \
+ done
$(LIB:%=lib/%) : $(LIB_SRC:%.c=lib/%.o)
$(CC) -o $@ $(LDFLAGS) $^ $(LIBS)