Skip to content

Commit e25c7cc

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fdf96a2 commit e25c7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ GIT-PERL-DEFINES: FORCE
17221722
gitweb:
17231723
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
17241724

1725-
git-instaweb: git-instaweb.sh gitweb GIT-SCRIPT-DEFINES
1725+
git-instaweb: git-instaweb.sh GIT-SCRIPT-DEFINES
17261726
$(QUIET_GEN)$(cmd_munge_script) && \
17271727
chmod +x $@+ && \
17281728
mv $@+ $@

0 commit comments

Comments
 (0)