X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-gui%2FMakefile;h=55765c8a3aa6b3702b230e8efe3c2ab47a6e73e5;hb=98b35e2c749614446b916230148d66857e8a09f3;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