1e6ea3ebb56bf3e31a4d8070f872d1eb45195cc3
craft
  Tue Jun 29 15:07:34 2010 -0700
Moved gitFiles to a makefile variable in htdocs, to allow an override.
Builds off a tag must not reference the repository. This change allows
an override, e.g. make FIND=find, for such builds.

diff --git src/hg/htdocs/makefile src/hg/htdocs/makefile
index 7879a27..81d9e63 100644
--- src/hg/htdocs/makefile
+++ src/hg/htdocs/makefile
@@ -8,6 +8,7 @@
 
 GIT = git
 GITUP = ${GIT} pull -q
+FIND=gitFiles
 
 user:
 	${GITUP}
@@ -61,7 +62,7 @@
 # use care in changing
 rsyncOpts = --times --recursive --executability --omit-dir-times --relative --cvs-exclude --exclude='makefile'
 doRsync:
-	umask 002; rsync ${rsyncOpts} ${excl} ${incl} `gitFiles` ${destDir}
+	umask 002; rsync ${rsyncOpts} ${excl} ${incl} `$(FIND)` ${destDir}
 
 # build symbolic links
 doSymLink: doRsync