git-instaweb: Simplify build dependency on gitweb

Since c0cb4ed (git-instaweb: Configure it to work with new gitweb structure, 2010-05-28) git-instaweb does not re-create gitweb.cgi etc., but makes use of installed gitweb. Therefore simplify git-instaweb dependency on gitweb subsystem in main Makefile from 'gitweb/gitweb.cgi gitweb/static/gitweb.css gitweb/static/gitweb.js' to simply 'gitweb'. This is preparation for splitting gitweb.perl script, and for splitting gitweb.js (to be reassembled / combined on build). This way we don't have to duplicate parts of gitweb/Makefile in main Makefile... it is also more correct description of git-instaweb dependency. Reported-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jakub Narebski committed May 7, 2011 at 14:45 UTC ff2e2cd58420438a95257caa6008b885e781d576
1 file changed +1 -1
Makefile
+1 -1
@@ -1773,7 +1773,7 @@ gitweb/static/gitweb.min.css: gitweb/static/gitweb.css
1773 endif # CSSMIN
1774
1775
1776 -git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/static/gitweb.css gitweb/static/gitweb.js
1776 +git-instaweb: git-instaweb.sh gitweb
1777 $(QUIET_GEN)$(RM) $@ $@+ && \
1778 sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
1779 -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \