Skip to content

Commit 81f9068

Browse files
committed
Merge branch 'jn/gitweb-dependency' into maint
* jn/gitweb-dependency: Remove gitweb/gitweb.cgi and other legacy targets from main Makefile git-instaweb: Simplify build dependency on gitweb
2 parents 2f0db1d + f09f1d3 commit 81f9068

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

Makefile

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,33 +1747,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
17471747
gitweb:
17481748
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
17491749

1750-
ifdef JSMIN
1751-
GITWEB_PROGRAMS += gitweb/static/gitweb.min.js
1752-
GITWEB_JS = gitweb/static/gitweb.min.js
1753-
else
1754-
GITWEB_JS = gitweb/static/gitweb.js
1755-
endif
1756-
ifdef CSSMIN
1757-
GITWEB_PROGRAMS += gitweb/static/gitweb.min.css
1758-
GITWEB_CSS = gitweb/static/gitweb.min.css
1759-
else
1760-
GITWEB_CSS = gitweb/static/gitweb.css
1761-
endif
1762-
OTHER_PROGRAMS += gitweb/gitweb.cgi $(GITWEB_PROGRAMS)
1763-
gitweb/gitweb.cgi: gitweb/gitweb.perl $(GITWEB_PROGRAMS)
1764-
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
1765-
1766-
ifdef JSMIN
1767-
gitweb/static/gitweb.min.js: gitweb/static/gitweb.js
1768-
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
1769-
endif # JSMIN
1770-
ifdef CSSMIN
1771-
gitweb/static/gitweb.min.css: gitweb/static/gitweb.css
1772-
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
1773-
endif # CSSMIN
1774-
1775-
1776-
git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/static/gitweb.css gitweb/static/gitweb.js
1750+
git-instaweb: git-instaweb.sh gitweb
17771751
$(QUIET_GEN)$(RM) $@ $@+ && \
17781752
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
17791753
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \

0 commit comments

Comments
 (0)