summaryrefslogtreecommitdiff
path: root/lockfile.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-05-29 03:26:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-29 09:22:18 -0700
commita2d25ef07f0fd268ea69631266e2f51f0bae4e62 (patch)
tree964ebeda06e2e5ddc47646157c451920baaa2a24 /lockfile.c
parentMakefile: drop dependency between git-instaweb and gitweb (diff)
downloadtgif-a2d25ef07f0fd268ea69631266e2f51f0bae4e62.tar.xz
Makefile: avoid timestamp updates to GIT-BUILD-OPTIONS
We force the GIT-BUILD-OPTIONS recipe to run every time "make" is invoked. We must do this to catch new options which may have come from the command-line or environment. However, we actually update the file's timestamp each time the recipe is run, whether anything changed or not. As a result, any files which depend on it (for example, all of the perl scripts, which need to know whether NO_PERL was set) will be re-built every time. Let's do our usual trick of writing to a tempfile, then doing a "cmp || mv" to update the file only when something changed. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'lockfile.c')
0 files changed, 0 insertions, 0 deletions