From: Pavan Kumar Sunkara Date: Fri, 28 May 2010 06:25:50 +0000 (+0530) Subject: gitweb: Set default destination directory for installing gitweb in Makefile X-Git-Tag: v1.7.2-rc0~55^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bc9519683cea289b6ba7d55fa8b947ac155467c6;p=git.git gitweb: Set default destination directory for installing gitweb in Makefile 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 Mentored-by: Christian Couder Mentored-by: Petr Baudis Acked-by: Jakub Narebski Acked-by: Petr Baudis Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 1ec90f53f..1f51eba4e 100644 --- a/Makefile +++ b/Makefile @@ -272,6 +272,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)