git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: Use $(sharedir)/gitweb for target 'install-gitweb'

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 1, 2010, 19:50 UTC
Message-ID
<201006012150.02970.jnareb@gmail.com>
In-Reply-To
<1275405080-17326-1-git-send-email-pavan.sss1991@gmail.com>
On Tue, 1 June 2010, Pavan Kumar Sunkara wrote:
Show 9 quoted lines
> 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>
For what it is worth:
Acked-by: Jakub Narebski <jnareb@gmail.com>
(But I have not tested it!)
Show 14 quoted lines
> ---
>  Makefile |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 8f011a5..32e3146 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -294,7 +294,7 @@ lib = lib
>  # DESTDIR=
>  pathsep = :
>  
> -export prefix bindir sharedir sysconfdir
> +export prefix bindir sharedir gitwebdir sysconfdir
Nitpick: why not
  +export prefix bindir sharedir sysconfdir gitwebdir
i.e. have 'gitwebdir' last?  Not that it matters, though....
Show 9 quoted lines
>  
>  CC = gcc
>  AR = ar
> @@ -2049,7 +2049,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
Nice.
Show 7 quoted lines
>  endif
>  ifndef NO_PYTHON
>  	$(MAKE) -C git_remote_helpers prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
> -- 
> 1.7.1.447.g40f7.dirty
> 
> 
-- 
Jakub Narebski
Poland
Previous: Pavan Kumar SunkaraNext: Junio C Hamano
Message 2 of 4 in “Makefile: Use $(sharedir)/gitweb for target 'install-gitweb'”
  1. Makefile: Use $(sharedir)/gitweb for target 'install-gitweb'Pavan Kumar Sunkara, Jun 1, 2010
  2. Jakub NarebskiJun 1, 2010
  3. Junio C HamanoJun 2, 2010
  4. Pavan Kumar SunkaraJun 2, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.