summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2012-12-29 14:52:53 -0500
committerStephen Paul Weber <singpolyma@singpolyma.net>2012-12-29 14:56:23 -0500
commite8e14f2cc9023794dfd2cf77943650ce28e2b36c (patch)
treeba28453ec08264d06de8c77ad03e5828701f7973 /Makefile
parent133b04ccbf83bab6406898b3906c0851d740fa67 (diff)
Support for better error handling.
Requires binary 0.6.4.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 929d0c4..9cb9cf4 100644
--- a/Makefile
+++ b/Makefile
@@ -48,15 +48,15 @@ endif
48 48
49ifdef CEREAL 49ifdef CEREAL
50dist/setup-config: openpgp.cabal 50dist/setup-config: openpgp.cabal
51 -printf '1c\nname: openpgp-cereal\n.\n,s/binary,$$/cereal,/g\nw\nq\n' | ed openpgp.cabal 51 -printf '1c\nname: openpgp-cereal\n.\n,s/binary >= 0.6.4.0,$$/cereal,/g\nw\nq\n' | ed openpgp.cabal
52 cabal configure 52 cabal configure --enable-tests
53else 53else
54dist/setup-config: openpgp.cabal 54dist/setup-config: openpgp.cabal
55 cabal configure --enable-tests 55 cabal configure --enable-tests
56endif 56endif
57 57
58clean: 58clean:
59 -printf '1c\nname: openpgp\n.\n,s/cereal,$$/binary,/g\nw\nq\n' | ed openpgp.cabal 59 -printf '1c\nname: openpgp\n.\n,s/cereal,$$/binary >= 0.6.4.0,/g\nw\nq\n' | ed openpgp.cabal
60 find -name '*.o' -o -name '*.hi' | xargs $(RM) 60 find -name '*.o' -o -name '*.hi' | xargs $(RM)
61 $(RM) sign verify keygen tests/suite 61 $(RM) sign verify keygen tests/suite
62 $(RM) -r dist dist-ghc 62 $(RM) -r dist dist-ghc