diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-09-19 19:02:52 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-09-19 19:02:52 +0000 |
commit | f6ce6f76fba5c064e52395e029caba6c26b32fa0 (patch) | |
tree | 18434a854599d8a9d16a9c4d2a9eb517df59f0ae /Makefile.in | |
parent | 6a17580455c740b26634da77cf7e2e523659d0fa (diff) | |
download | quilt-f6ce6f76fba5c064e52395e029caba6c26b32fa0.tar.gz |
- Avoid spurious rebuilds because of unnecessary chmod.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
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) |