Skip to content

Commit

Permalink
Makefile: use $(FIND) instead of find
Browse files Browse the repository at this point in the history
Some people might prefer to be able to specify the find utility to
use.

Signed-off-by: David Kastrup <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
dakhubgit authored and gitster committed Jul 29, 2007
1 parent 82cb8af commit 89b2f19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ CC = gcc
AR = ar
RM = rm -f
TAR = tar
FIND = find
INSTALL = install
RPMBUILD = rpmbuild
TCL_PATH = tclsh
Expand Down Expand Up @@ -903,11 +904,11 @@ doc:

TAGS:
$(RM) TAGS
find . -name '*.[hcS]' -print | xargs etags -a
$(FIND) . -name '*.[hcS]' -print | xargs etags -a

tags:
$(RM) tags
find . -name '*.[hcS]' -print | xargs ctags -a
$(FIND) . -name '*.[hcS]' -print | xargs ctags -a

### Detect prefix changes
TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):\
Expand Down

0 comments on commit 89b2f19

Please sign in to comment.