git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
To: "Dévai Tamás" <devait@vnet.hu>
Cc: git@vger.kernel.org, Petr Baudis <pasky@ucw.cz>,
	Christian Couder <chriscool@tuxfamily.org>,
	Jakub Narebski <jnareb@gmail.com>
Subject: Re: [PATCH GSoC 2/3] git-instaweb: Configure it to work with a global  server root and projects list
Date: Tue, 18 May 2010 01:52:37 +0530	[thread overview]
Message-ID: <AANLkTinj6sgWDm6yUVDCT6kwg-bcQRh1QCSlyLjEFtls@mail.gmail.com> (raw)
In-Reply-To: <1273969019.1169.16.camel@localhost.localdomain>

Thanks Devai. It's great.

- pavan

On Sun, May 16, 2010 at 5:46 AM, Dévai Tamás <devait@vnet.hu> wrote:
>> +# Default is /usr/share/gitweb
>> +test -z "$root" && root='/usr/share/gitweb'
>
> Just one question: what happens, when one installs to /usr/local (or any
> other directory) instead of /usr? I'd use the $(gitwebdir) variable from
> the Makefile as default, such as
>
>  # if installed, it doesn't need further configuration (module_path)
>  test -z "$httpd" && httpd='lighttpd -f'
>
> -+# Default is /usr/share/gitweb
> -+test -z "$root" && root='/usr/share/gitweb'
> ++# Default is @@gitwebdir@@
> ++test -z "$root" && root='@@gitwebdir@@'
>  +
>  # any untaken local port will do...
>  test -z "$port" && port=1234
>
> and in the Makefile
>
>         sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
>             -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
>             -e 's/@@NO_CURL@@/$(NO_CURL)/g' \
> ++           -e 's|@@gitwebdir@@|$(gitwebdir)|g' \
>  -           -e '/@@GITWEB_CGI@@/r gitweb/gitweb.cgi' \
>  -           -e '/@@GITWEB_CGI@@/d' \
>  -           -e '/@@GITWEB_CSS@@/r $(GITWEB_CSS)' \
>
> Hope that you find it reasonable.
> --
> Dévai Tamás
>
>

  reply	other threads:[~2010-05-17 20:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15 19:58 [PATCHv2 GSoC 1/3] gitweb: Set default destination directory for installing gitweb in Makefile Pavan Kumar Sunkara
2010-05-15 19:58 ` [PATCH GSoC 2/3] git-instaweb: Configure it to work with a global server root and projects list Pavan Kumar Sunkara
2010-05-16  0:16   ` Dévai Tamás
2010-05-17 20:22     ` Pavan Kumar Sunkara [this message]
2010-05-18 13:33   ` Jakub Narebski
2010-05-18 18:56     ` Pavan Kumar Sunkara
2010-05-18 23:05       ` Jakub Narebski
2010-05-19  8:58         ` Pavan Kumar Sunkara
2010-05-19 16:48           ` Jakub Narebski
2010-05-18 22:54     ` Eric Wong
2010-05-15 19:58 ` [PATCH 3/3] git-web--browse: Add support for google chrome Pavan Kumar Sunkara
2010-05-16 21:01   ` Erik Faye-Lund

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=AANLkTinj6sgWDm6yUVDCT6kwg-bcQRh1QCSlyLjEFtls@mail.gmail.com \
    --to=pavan.sss1991@gmail.com \
    --cc=chriscool@tuxfamily.org \
    --cc=devait@vnet.hu \
    --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).