Makefile: use overridable $(FIND) instead of hard-coded 'find'
authorJohannes Sixt <j6t@kdbg.org>
Mon, 6 Aug 2012 21:06:14 +0000 (23:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Aug 2012 21:21:13 +0000 (14:21 -0700)
The Makefile already offers the variable $(FIND) and uses it except in one
place. Fix it.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
index 4b58b91820c10a531970074a2a95675af95389f7..15d13197d46b71f3720ec891210c35e6b2b2e8ec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2093,7 +2093,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) $@+