From 89b2f19cb516249b8d9546bb1f3f46a1ec5b3242 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sun, 29 Jul 2007 15:23:28 -0700 Subject: 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 Signed-off-by: Junio C Hamano diff --git a/Makefile b/Makefile index 73b487f..c58a4c2 100644 --- a/Makefile +++ b/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)):\ -- cgit v0.10.2-6-g49f6