diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-26 14:09:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-26 14:09:40 -0400 |
commit | dd19a319cb8cddd0a476f58d0a73e181e71aeac7 (patch) | |
tree | 05693bc500b9acd5180dc28fc719cc53cce603c6 /Makefile | |
parent | 620941d8430013547dfc4ccfc5c5e20e9d4baa19 (diff) |
rewrote OSX library copier in Haskell, now with recursive copying of library deps
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -206,15 +206,7 @@ osxapp: install -d "$(OSXAPP_BASE)/git-core" (cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)"/git-core && tar x) - touch "$(OSXAPP_BASE)/libdirs.tmp" - for lib in $$(otool -L "$(OSXAPP_BASE)"/bin/* "$(OSXAPP_BASE)"/git-core/* | egrep '^ ' | cut -d ' ' -f 1 | sed 's/^ //' | sort | uniq); do \ - dir=$$(dirname "$$lib"); \ - install -d "$(OSXAPP_BASE)/$$dir"; \ - echo "$$dir" >> "$(OSXAPP_BASE)/libdirs.tmp"; \ - cp "$$lib" "$(OSXAPP_BASE)/$$dir"; \ - done - sort "$(OSXAPP_BASE)/libdirs.tmp" | uniq > "$(OSXAPP_BASE)/libdirs" - rm -f "$(OSXAPP_BASE)/libdirs.tmp" + runghc Build/OSXMkLibs.hs $(OSXAPP_BASE) rm -f tmp/git-annex.dmg hdiutil create -size 640m -format UDRW -srcfolder $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg \ -volname git-annex -o tmp/git-annex.dmg |