X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-gui%2FMakefile;h=55765c8a3aa6b3702b230e8efe3c2ab47a6e73e5;hb=847d10f56d7853cd0e139a7c2e6ad0ad2de5c464;hp=b19fb2d64e777102fed94d485f869ad6695bbb62;hpb=196821f440d46029f0399a7d97c0cfc78a870244;p=git.git diff --git a/git-gui/Makefile b/git-gui/Makefile index b19fb2d64..55765c8a3 100644 --- a/git-gui/Makefile +++ b/git-gui/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 @@ -156,6 +160,7 @@ endif ifneq (,$(findstring MINGW,$(uname_S))) NO_MSGFMT=1 GITGUI_WINDOWS_WRAPPER := YesPlease + GITGUI_RELATIVE := 1 endif ifdef GITGUI_MACOSXAPP