git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH GSoC] gitweb: Add global installation target for gitweb
@ 2010-05-13  9:38 Pavan Kumar Sunkara
  2010-05-14 15:07 ` Jakub Narebski
  0 siblings, 1 reply; 7+ messages in thread
From: Pavan Kumar Sunkara @ 2010-05-13  9:38 UTC (permalink / raw)
  To: Git List, Jakub Narebski, Petr Baudis, Christian Couder

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@gmail.com>
---

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-15 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13  9:38 [PATCH GSoC] gitweb: Add global installation target for gitweb Pavan Kumar Sunkara
2010-05-14 15:07 ` Jakub Narebski
2010-05-14 16:40   ` Pavan Kumar Sunkara
2010-05-14 21:22     ` Jakub Narebski
2010-05-15 12:49     ` Jakub Narebski
2010-05-15 13:04       ` Pavan Kumar Sunkara
2010-05-15 18:43         ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).