Skip to content

Commit f09f1d3

Browse files
jnarebgitster
authored andcommitted
Remove gitweb/gitweb.cgi and other legacy targets from main Makefile
Now that there is gitweb/Makefile, let's leave only "gitweb" and "install-gitweb" targets in main Makefile. Those targets just delegate to gitweb's Makefile. Requested-by: Junio C Hamano <[email protected]> Signed-off-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ff2e2cd commit f09f1d3

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

Makefile

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,32 +1747,6 @@ $(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-
17761750
git-instaweb: git-instaweb.sh gitweb
17771751
$(QUIET_GEN)$(RM) $@ $@+ && \
17781752
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \

0 commit comments

Comments
 (0)