mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
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:
parent
82cb8afa9b
commit
89b2f19cb5
5
Makefile
5
Makefile
|
@ -176,6 +176,7 @@ CC = gcc
|
|||
AR = ar
|
||||
RM = rm -f
|
||||
TAR = tar
|
||||
FIND = find
|
||||
INSTALL = install
|
||||
RPMBUILD = rpmbuild
|
||||
TCL_PATH = tclsh
|
||||
|
@ -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)):\
|
||||
|
|
Loading…
Reference in a new issue