avoid excesive cabal configure when rebuilding android
This commit is contained in:
parent
857548e1b7
commit
516b61df14
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -192,7 +192,7 @@ android: Build/EvilSplicer
|
|||
sed -i 's/Build-type: Custom/Build-type: Simple/' tmp/androidtree/git-annex.cabal
|
||||
# Build just once, but link twice, for 2 different versions of Android.
|
||||
mkdir -p tmp/androidtree/dist/build/git-annex/4.0 tmp/androidtree/dist/build/git-annex/4.3
|
||||
if [ ! -e tmp/androidtree/dist/setup/setup ]; then \
|
||||
if [ ! -e tmp/androidtree/dist/setup-config ]; then \
|
||||
cd tmp/androidtree && $$HOME/.ghc/$(shell cat standalone/android/abiversion)/arm-linux-androideabi/bin/cabal configure -fAndroid $(ANDROID_FLAGS); \
|
||||
fi
|
||||
cd tmp/androidtree && $$HOME/.ghc/$(shell cat standalone/android/abiversion)/arm-linux-androideabi/bin/cabal build \
|
||||
|
|
Loading…
Add table
Reference in a new issue