Skip to content

Commit a579498

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

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
@@ -1753,33 +1753,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
17531753
gitweb:
17541754
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
17551755

1756-
ifdef JSMIN
1757-
GITWEB_PROGRAMS += gitweb/static/gitweb.min.js
1758-
GITWEB_JS = gitweb/static/gitweb.min.js
1759-
else
1760-
GITWEB_JS = gitweb/static/gitweb.js
1761-
endif
1762-
ifdef CSSMIN
1763-
GITWEB_PROGRAMS += gitweb/static/gitweb.min.css
1764-
GITWEB_CSS = gitweb/static/gitweb.min.css
1765-
else
1766-
GITWEB_CSS = gitweb/static/gitweb.css
1767-
endif
1768-
OTHER_PROGRAMS += gitweb/gitweb.cgi $(GITWEB_PROGRAMS)
1769-
gitweb/gitweb.cgi: gitweb/gitweb.perl $(GITWEB_PROGRAMS)
1770-
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
1771-
1772-
ifdef JSMIN
1773-
gitweb/static/gitweb.min.js: gitweb/static/gitweb.js
1774-
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
1775-
endif # JSMIN
1776-
ifdef CSSMIN
1777-
gitweb/static/gitweb.min.css: gitweb/static/gitweb.css
1778-
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
1779-
endif # CSSMIN
1780-
1781-
1782-
git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/static/gitweb.css gitweb/static/gitweb.js
1756+
git-instaweb: git-instaweb.sh gitweb
17831757
$(QUIET_GEN)$(RM) $@ $@+ && \
17841758
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
17851759
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \

0 commit comments

Comments
 (0)