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 <gitster@pobox.com> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ff2e2cd584
commit
f09f1d35b5
26
Makefile
26
Makefile
@ -1747,32 +1747,6 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
|
|||||||
gitweb:
|
gitweb:
|
||||||
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
|
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
|
||||||
|
|
||||||
ifdef JSMIN
|
|
||||||
GITWEB_PROGRAMS += gitweb/static/gitweb.min.js
|
|
||||||
GITWEB_JS = gitweb/static/gitweb.min.js
|
|
||||||
else
|
|
||||||
GITWEB_JS = gitweb/static/gitweb.js
|
|
||||||
endif
|
|
||||||
ifdef CSSMIN
|
|
||||||
GITWEB_PROGRAMS += gitweb/static/gitweb.min.css
|
|
||||||
GITWEB_CSS = gitweb/static/gitweb.min.css
|
|
||||||
else
|
|
||||||
GITWEB_CSS = gitweb/static/gitweb.css
|
|
||||||
endif
|
|
||||||
OTHER_PROGRAMS += gitweb/gitweb.cgi $(GITWEB_PROGRAMS)
|
|
||||||
gitweb/gitweb.cgi: gitweb/gitweb.perl $(GITWEB_PROGRAMS)
|
|
||||||
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
|
|
||||||
|
|
||||||
ifdef JSMIN
|
|
||||||
gitweb/static/gitweb.min.js: gitweb/static/gitweb.js
|
|
||||||
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
|
|
||||||
endif # JSMIN
|
|
||||||
ifdef CSSMIN
|
|
||||||
gitweb/static/gitweb.min.css: gitweb/static/gitweb.css
|
|
||||||
$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
|
|
||||||
endif # CSSMIN
|
|
||||||
|
|
||||||
|
|
||||||
git-instaweb: git-instaweb.sh gitweb
|
git-instaweb: git-instaweb.sh gitweb
|
||||||
$(QUIET_GEN)$(RM) $@ $@+ && \
|
$(QUIET_GEN)$(RM) $@ $@+ && \
|
||||||
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
|
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user