diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-08 11:07:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-08 11:07:59 -0400 |
commit | c1552daa3283ba03ef041312036d0e2f56c8fd87 (patch) | |
tree | ec8ea7939347c84ae2e5d106f76ff26cc05c7da1 /Makefile | |
parent | 7864e92bdaf01838eab279f79f90015e86b20bb0 (diff) |
use install_name_tool to adjust library paths in osx app
Have not yet been able to test this.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -192,19 +192,18 @@ osxapp: install -d $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg cp -R standalone/osx/git-annex.app "$(OSXAPP_DEST)" - install -d "$(OSXAPP_BASE)/bin" - cp git-annex "$(OSXAPP_BASE)/bin/" - strip "$(OSXAPP_BASE)/bin/git-annex" - ln -sf git-annex "$(OSXAPP_BASE)/bin/git-annex-shell" + install -d "$(OSXAPP_BASE)" + cp git-annex "$(OSXAPP_BASE)" + strip "$(OSXAPP_BASE)/git-annex" + ln -sf git-annex "$(OSXAPP_BASE)/git-annex-shell" gzcat standalone/licences.gz > $(OSXAPP_BASE)/LICENSE cp $(OSXAPP_BASE)/LICENSE $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg/LICENSE.txt for bin in $(THIRDPARTY_BINS); do \ - cp "$$(which "$$bin")" "$(OSXAPP_BASE)/bin/"; \ + cp "$$(which "$$bin")" "$(OSXAPP_BASE)"; \ done - install -d "$(OSXAPP_BASE)/git-core" - (cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)"/git-core && tar x) + (cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)" && tar x) runghc Build/OSXMkLibs.hs $(OSXAPP_BASE) rm -f tmp/git-annex.dmg |