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

[PATCH GSoC 2/4] gitweb: Set default destination directory for installing gitweb in Makefile

From
Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Date
May 28, 2010, 06:25 UTC
Message-ID
<1275027952-5057-2-git-send-email-pavan.sss1991@gmail.com>
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
Previous: Pavan Kumar SunkaraNext: Pavan Kumar Sunkara
Message 2 of 7 in “gitweb: Move static files into seperate subdirectory”
  1. 1/4 gitweb: Move static files into seperate subdirectoryPavan Kumar Sunkara, May 28, 2010
  2. 2/4 gitweb: Set default destination directory for installing gitweb in MakefilePavan Kumar Sunkara, May 28, 2010
  3. 3/4 git-instaweb: Put httpd logs in a "$httpd_only" subdirectoryPavan Kumar Sunkara, May 28, 2010
  4. 4/4 git-instaweb: Configure it to work with new gitweb structurePavan Kumar Sunkara, May 28, 2010
  5. Christian CouderMay 28, 2010
  6. Junio C HamanoMay 29, 2010
  7. Petr BaudisMay 31, 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.