git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
To: git@vger.kernel.org, chriscool@tuxfamily.org, pasky@ucw.cz,
	jnareb@gmail.com
Cc: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Subject: [PATCH GSoC 2/4] gitweb: Set default destination directory for installing gitweb in Makefile
Date: Fri, 28 May 2010 11:55:50 +0530	[thread overview]
Message-ID: <1275027952-5057-2-git-send-email-pavan.sss1991@gmail.com> (raw)
In-Reply-To: <1275027952-5057-1-git-send-email-pavan.sss1991@gmail.com>

Currently installing gitweb requires to give a target directory
(via 'gitwebdir' build variable).  Giving it a default value
protects against user errors.

Signed-off-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Petr Baudis <pasky@ucw.cz>
Acked-by: Jakub Narebski <jnareb@gmail.com>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index de7f680..caf2f64 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)
-- 
1.7.1.18.gf661c6.dirty

  reply	other threads:[~2010-05-28  6:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28  6:25 [PATCH GSoC 1/4] gitweb: Move static files into seperate subdirectory Pavan Kumar Sunkara
2010-05-28  6:25 ` Pavan Kumar Sunkara [this message]
2010-05-28  6:25 ` [PATCH GSoC 3/4] git-instaweb: Put httpd logs in a "$httpd_only" subdirectory Pavan Kumar Sunkara
2010-05-28  6:25 ` [PATCH GSoC 4/4] git-instaweb: Configure it to work with new gitweb structure Pavan Kumar Sunkara
2010-05-28 16:56 ` [PATCH GSoC 1/4] gitweb: Move static files into seperate subdirectory Christian Couder
2010-05-29  1:10   ` Junio C Hamano
2010-05-31 21:36 ` Petr Baudis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1275027952-5057-2-git-send-email-pavan.sss1991@gmail.com \
    --to=pavan.sss1991@gmail.com \
    --cc=chriscool@tuxfamily.org \
    --cc=git@vger.kernel.org \
    --cc=jnareb@gmail.com \
    --cc=pasky@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).