summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-03-17 19:13:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-03-17 19:14:41 -0400
commit9a79dc9ec02a430c21ac720d7c6a4ee11a3edcdd (patch)
tree4fcca1001f62396eb1f9ef0d1357b8ff68d16fd4 /Makefile
parent17be6b8b6663ac37e5b2f6caba2730ebd4f0f42f (diff)
test suite infra for testing mocked ssh remotes
This commit was supported by the NSF-funded DataLad project.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 47b0a9ccc..ed2d92170 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all=git-annex mans docs
+all=git-annex git-annex-shell mans docs
# set to "./Setup" if you lack a cabal program. Or can be set to "stack"
BUILDER?=cabal
@@ -29,12 +29,15 @@ git-annex: tmp/configure-stamp
else \
ln -sf dist/build/git-annex/git-annex git-annex; \
fi
- # Work around https://github.com/haskell/cabal/issues/3524
- # when not linked dynamically to haskell libs
+# Work around https://github.com/haskell/cabal/issues/3524
+# when not linked dynamically to haskell libs
@if ! ldd git-annex | grep -q libHS; then \
chrpath -d git-annex || echo "** unable to chrpath git-annex; it will be a little bit slower than necessary"; \
fi
+git-annex-shell: git-annex
+ ln -sf git-annex git-annex-shell
+
# These are not built normally.
git-union-merge.1: doc/git-union-merge.mdwn
./Build/mdwn2man git-union-merge 1 doc/git-union-merge.mdwn > git-union-merge.1