defer find to after build
This commit is contained in:
parent
3c32b67303
commit
b03887a7bc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs
|
||||||
git-annex: Build/SysConfig.hs
|
git-annex: Build/SysConfig.hs
|
||||||
$(BUILDER) build -j1
|
$(BUILDER) build -j1
|
||||||
if [ "$(BUILDER)" = stack ]; then \
|
if [ "$(BUILDER)" = stack ]; then \
|
||||||
ln -sf $(shell find .stack-work/ -name git-annex -type f | grep build/git-annex/git-annex | tail -n 1) git-annex; \
|
ln -sf $$(find .stack-work/ -name git-annex -type f | grep build/git-annex/git-annex | tail -n 1) git-annex; \
|
||||||
else \
|
else \
|
||||||
ln -sf dist/build/git-annex/git-annex git-annex; \
|
ln -sf dist/build/git-annex/git-annex git-annex; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue