Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Correct installation of library to be $prefix/share
[gitweb.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index b19fb2d64e777102fed94d485f869ad6695bbb62..c9d67fe98ef61b9ceee846ee4b2b555985bf9b8e 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-34,8
+34,12
@@
ifndef gitexecdir
endif
ifndef sharedir
+ifeq (git-core,$(notdir $(gitexecdir)))
+ sharedir := $(dir $(patsubst %/,%,$(dir $(gitexecdir))))share
+else
sharedir := $(dir $(gitexecdir))share
endif
+endif
ifndef INSTALL
INSTALL = install