Makefile: use $(FIND) instead of find
Some people might prefer to be able to specify the find utility to use. Signed-off-by: David Kastrup <dak@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
David Kastrup committed
Jul 29, 2007 at 15:23 UTC
89b2f19cb516249b8d9546bb1f3f46a1ec5b3242
1 file changed
+3
-2
Makefile
+3
-2
@@ -176,6 +176,7 @@ CC = gcc
176
AR = ar
177
RM = rm -f
178
TAR = tar
179
+FIND = find
180
INSTALL = install
181
RPMBUILD = rpmbuild
182
TCL_PATH = tclsh
@@ -903,11 +904,11 @@ doc:
904
905
TAGS:
906
$(RM) TAGS
906
- find . -name '*.[hcS]' -print | xargs etags -a
907
+ $(FIND) . -name '*.[hcS]' -print | xargs etags -a
908
909
tags:
910
$(RM) tags
910
- find . -name '*.[hcS]' -print | xargs ctags -a
911
+ $(FIND) . -name '*.[hcS]' -print | xargs ctags -a
912
913
### Detect prefix changes
914
TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):\