summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-14 17:03:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-14 17:03:41 -0400
commit631ee044f031d264a0241eb250ce053e1d4fbcee (patch)
treeb8c8292162f091b357f142aee296f31b1f956eae /Makefile
parent13eac705c068d2e239b272335498bfe58eea07d2 (diff)
avoid displaying splices on the console during build
There are some insanely large ones, and that was just not nice. Downside is all warnings and errors are also not shown during the native part of the build (but the cross build will still show any it has).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index be187ff70..d9396e05a 100644
--- a/Makefile
+++ b/Makefile
@@ -161,15 +161,15 @@ osxapp: Build/Standalone Build/OSXMkLibs
# Cross compile for Android.
# Uses https://github.com/neurocyte/ghc-android
android: Build/EvilSplicer
- echo "Native build, to get TH splices.."
+ echo "Running native build, to get TH splices.."
$(CABAL) configure -f"-Production" -O0
- $(CABAL) build -v2 --ghc-options=-ddump-splices 2>&1 | tee dist/caballog
+ $(CABAL) build --ghc-options=-ddump-splices 2> dist/dump-splices
mkdir -p tmp
rsync -az --delete --exclude tmp . tmp/androidtree
cd tmp/androidtree && $(MAKE) android-stage2
android-stage2: Build/EvilSplicer
- ./Build/EvilSplicer tmp/splices dist/caballog standalone/android/evilsplicer-headers.hs
+ ./Build/EvilSplicer tmp/splices dist/dump-splices standalone/android/evilsplicer-headers.hs
# Copy the files with expanded splices to the source tree, but
# 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,