Skip to content

Commit bc95196

Browse files
pksunkaragitster
authored andcommitted
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>
1 parent 18d0532 commit bc95196

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ mandir = share/man
272272
infodir = share/info
273273
gitexecdir = libexec/git-core
274274
sharedir = $(prefix)/share
275+
gitwebdir = $(sharedir)/gitweb
275276
template_dir = share/git-core/templates
276277
htmldir = share/doc/git-doc
277278
ifeq ($(prefix),/usr)

0 commit comments

Comments
 (0)