mirror of
https://github.com/git/git.git
synced 2026-03-29 11:00:07 +02:00
Makefile: Use $(sharedir)/gitweb for target 'install-gitweb'
Export gitwebdir variable so that when user types the command 'make install-gitweb', gitweb is installed in $(sharedir)/gitweb rather than /var/www/cgi-bin. Now, $(sharedir)/gitweb is default for both 'install' and 'install-gitweb' targets. Remove 'gitwebdir=$(gitwebdir_SQ)' from gitweb part of 'install' target which is unneccessary now. Signed-off-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
c0cb4ed3e6
commit
734e7f5229
4
Makefile
4
Makefile
@@ -286,7 +286,7 @@ lib = lib
|
||||
# DESTDIR=
|
||||
pathsep = :
|
||||
|
||||
export prefix bindir sharedir sysconfdir
|
||||
export prefix bindir sharedir sysconfdir gitwebdir
|
||||
|
||||
CC = gcc
|
||||
AR = ar
|
||||
@@ -1978,7 +1978,7 @@ install: all
|
||||
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
|
||||
ifndef NO_PERL
|
||||
$(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
|
||||
$(MAKE) -C gitweb gitwebdir=$(gitwebdir_SQ) install
|
||||
$(MAKE) -C gitweb install
|
||||
endif
|
||||
ifndef NO_PYTHON
|
||||
$(MAKE) -C git_remote_helpers prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
|
||||
|
||||
Reference in New Issue
Block a user