@matheusbsbs / matheus-bagliano / commits / bc9519683c
Fork 0

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 <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> Acked-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pavan Kumar Sunkara committed May 28, 2010 at 11:55 UTC bc9519683cea289b6ba7d55fa8b947ac155467c6
1 file changed +1
Makefile
+1
@@ -272,6 +272,7 @@ mandir = share/man
272 infodir = share/info
273 gitexecdir = libexec/git-core
274 sharedir = $(prefix)/share
275 +gitwebdir = $(sharedir)/gitweb
276 template_dir = share/git-core/templates
277 htmldir = share/doc/git-doc
278 ifeq ($(prefix),/usr)