[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