don't fail android build if there are no splices
This commit is contained in:
parent
be253aeff9
commit
2e019a1da6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -173,7 +173,7 @@ android: Build/EvilSplicer
|
||||||
# only if the existing source file is not newer. (So, if a file
|
# only if the existing source file is not newer. (So, if a file
|
||||||
# used to have TH splices but they were removed, it will be newer,
|
# used to have TH splices but they were removed, it will be newer,
|
||||||
# and not overwritten.)
|
# and not overwritten.)
|
||||||
cp -uR tmp/splices/* tmp/androidtree
|
cp -uR tmp/splices/* tmp/androidtree || true
|
||||||
# Some additional dependencies needed by the expanded splices.
|
# Some additional dependencies needed by the expanded splices.
|
||||||
sed -i 's/^ Build-Depends: / Build-Depends: yesod-routes, yesod-core, shakespeare-css, shakespeare-js, shakespeare, blaze-markup, file-embed, wai-app-static, /' tmp/androidtree/git-annex.cabal
|
sed -i 's/^ Build-Depends: / Build-Depends: yesod-routes, yesod-core, shakespeare-css, shakespeare-js, shakespeare, blaze-markup, file-embed, wai-app-static, /' tmp/androidtree/git-annex.cabal
|
||||||
# Avoid warnings due to sometimes unused imports added for the splices.
|
# Avoid warnings due to sometimes unused imports added for the splices.
|
||||||
|
|
Loading…
Reference in a new issue