summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-27 11:44:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-27 11:44:40 -0400
commita45e03c8e92b3daad007444eb1055f09fce9de7e (patch)
tree4db5262b9200bbd6c4309e3d5210473e6abcf425 /Makefile
parentfd6d6f409d4d105c645f0e7dd004c34027114762 (diff)
avoid installing git-annex from PATH to the webapp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1e0ce9764..38f18782a 100644
--- a/Makefile
+++ b/Makefile
@@ -144,12 +144,14 @@ osxapp: $(bins)
cp -R ui-macos/git-annex.app "$(OSXAPP_DEST)"
install -d "$(OSXAPP_BASE)/bin"
- for bin in git-annex $(THIRDPARTY_BINS); do \
+ cp git-annex "$(OSXAPP_BASE)/bin/"
+ strip "$(OSXAPP_BASE)/bin/git-annex"
+ ln -sf git-annex "$(OSXAPP_BASE)/bin/git-annex-shell"
+
+ for bin in $(THIRDPARTY_BINS); do \
cp "$$(which "$$bin")" "$(OSXAPP_BASE)/bin/" || echo "$$bin not available; skipping"; \
done
- strip $(OSXAPP_BASE)/bin/git-annex
- ln -sf git-annex "$(OSXAPP_BASE)/bin/git-annex-shell"
install -d "$(OSXAPP_BASE)/git-core"
(cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)"/git-core && tar x)