diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-25 10:12:25 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-25 10:12:25 -0400 |
commit | f6707fdd691da81c02514fe18bba610d1c8152a4 (patch) | |
tree | d23a0cff9bfeff83f3106f4aa299c3ebd5ad5dd0 /Makefile | |
parent | 4e33618d66ef553bac4f9dab0cde414281f31029 (diff) |
build osx app in tmp dir
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -133,11 +133,16 @@ sdist: clean $(mans) hackage: sdist @cabal upload dist/*.tar.gz -OSXAPP_BASE=ui-macos/git-annex.app/Contents/MacOS +OSXAPP_DEST=tmp/git-annex.app +OSXAPP_BASE=$(OSXAPP_DEST/Contents/MacOS) THIRDPARTY_BINS=git curl lsof xargs rsync uuid wget xargs \ sha1sum sha224sum sha256sum sha384sum sha512sum osxapp: $(bins) + rm -rf "$(OSXAPP_DEST)" + install -d "$(OSXAPP_DEST)" + cp -R ui-macos/git-annex.app "$(OSXAPP_DEST)" + install -d "$(OSXAPP_BASE)/bin" for bin in git-annex $(THIRDPARTY_BINS); do \ cp "$$(which "$$bin")" "$(OSXAPP_BASE)/bin/" || echo "$$bin not available; skipping"; \ |