* [PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find'
@ 2012-08-06 21:06 Johannes Sixt
2012-08-06 21:25 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Sixt @ 2012-08-06 21:06 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List, Eric Wong
The Makefile already offers the variable $(FIND) and uses it except in one
place. Fix it.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
For my Windows builds, I need "FIND=/usr/bin/find" in config.mak because
I have /usr/bin is too late in PATH to override MS's incompatible 'find'.
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index fe9bcea..bc88d13 100644
--- a/Makefile
+++ b/Makefile
@@ -2094,7 +2094,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak
perl/perl.mak: perl/PM.stamp
perl/PM.stamp: FORCE
- $(QUIET_GEN)find perl -type f -name '*.pm' | sort >$@+ && \
+ $(QUIET_GEN)$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
$(RM) $@+
--
1.7.11.1.127.gdcfb9a9
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find'
2012-08-06 21:06 [PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find' Johannes Sixt
@ 2012-08-06 21:25 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-08-06 21:25 UTC (permalink / raw)
To: Johannes Sixt; +Cc: Git Mailing List, Eric Wong
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-06 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06 21:06 [PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find' Johannes Sixt
2012-08-06 21:25 ` Junio C Hamano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.