The current installation of gitweb requires us to give it a target directory. But splitting of gitweb makes it difficult for git instaweb to continue with the current method. This commit allow installation of gitweb files into the target '$(sharedir)/gitweb' by default when user type 'make install'. This target act as root directory for instaweb servers. Signed-off-by: Pavan Kumar Sunkara <pavan.sss1991@xxxxxxxxx> --- This is necessary step to acheive the goals of my GSoC project. Currently instaweb script creates gitweb.* files in every repository which is unnecessary. So if we have global folder for gitweb files we can configure the instaweb server root to point to that direction. Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index de7f680..0b262a9 100644 --- a/Makefile +++ b/Makefile @@ -269,6 +269,7 @@ mandir = share/man infodir = share/info gitexecdir = libexec/git-core sharedir = $(prefix)/share +gitwebdir = $(sharedir)/gitweb template_dir = share/git-core/templates htmldir = share/doc/git-doc ifeq ($(prefix),/usr) @@ -1971,6 +1972,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) install endif ifndef NO_PYTHON $(MAKE) -C git_remote_helpers prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install -- 1.7.1.16.g5d405c.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html