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>
This commit is contained in:
David Kastrup 2007-07-29 15:23:28 -07:00 committed by Junio C Hamano
parent 82cb8afa9b
commit 89b2f19cb5

View File

@ -176,6 +176,7 @@ CC = gcc
AR = ar AR = ar
RM = rm -f RM = rm -f
TAR = tar TAR = tar
FIND = find
INSTALL = install INSTALL = install
RPMBUILD = rpmbuild RPMBUILD = rpmbuild
TCL_PATH = tclsh TCL_PATH = tclsh
@ -903,11 +904,11 @@ doc:
TAGS: TAGS:
$(RM) TAGS $(RM) TAGS
find . -name '*.[hcS]' -print | xargs etags -a $(FIND) . -name '*.[hcS]' -print | xargs etags -a
tags: tags:
$(RM) tags $(RM) tags
find . -name '*.[hcS]' -print | xargs ctags -a $(FIND) . -name '*.[hcS]' -print | xargs ctags -a
### Detect prefix changes ### Detect prefix changes
TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):\ TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):\