summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-05-29 07:25:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-05-29 16:21:27 (GMT)
commite25c7cc146177a59f31ca07cdd094e0566e1e4be (patch)
tree4f521c9c3829863c6543cd4882400f2acddc2744 /Makefile
parentfdf96a20acf96a6ac538df8113b2aafd6ed71d50 (diff)
downloadgit-e25c7cc146177a59f31ca07cdd094e0566e1e4be.zip
git-e25c7cc146177a59f31ca07cdd094e0566e1e4be.tar.gz
git-e25c7cc146177a59f31ca07cdd094e0566e1e4be.tar.bz2
Makefile: drop dependency between git-instaweb and gitweb
The rule for "git-instaweb" depends on "gitweb". This makes no sense, because: 1. git-instaweb has no build-time dependency on gitweb; it is a run-time dependency 2. gitweb is a directory that we want to recursively make in. As a result, its recipe is marked .PHONY, which causes "make" to rebuild git-instaweb every time it is run. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7482a4d..acb2817 100644
--- a/Makefile
+++ b/Makefile
@@ -1722,7 +1722,7 @@ GIT-PERL-DEFINES: FORCE
gitweb:
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
-git-instaweb: git-instaweb.sh gitweb GIT-SCRIPT-DEFINES
+git-instaweb: git-instaweb.sh GIT-SCRIPT-DEFINES
$(QUIET_GEN)$(cmd_munge_script) && \
chmod +x $@+ && \
mv $@+ $@