From e8e14f2cc9023794dfd2cf77943650ce28e2b36c Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sat, 29 Dec 2012 14:52:53 -0500 Subject: Support for better error handling. Requires binary 0.6.4.0 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 929d0c4..9cb9cf4 100644 --- a/Makefile +++ b/Makefile @@ -48,15 +48,15 @@ endif ifdef CEREAL dist/setup-config: openpgp.cabal - -printf '1c\nname: openpgp-cereal\n.\n,s/binary,$$/cereal,/g\nw\nq\n' | ed openpgp.cabal - cabal configure + -printf '1c\nname: openpgp-cereal\n.\n,s/binary >= 0.6.4.0,$$/cereal,/g\nw\nq\n' | ed openpgp.cabal + cabal configure --enable-tests else dist/setup-config: openpgp.cabal cabal configure --enable-tests endif clean: - -printf '1c\nname: openpgp\n.\n,s/cereal,$$/binary,/g\nw\nq\n' | ed openpgp.cabal + -printf '1c\nname: openpgp\n.\n,s/cereal,$$/binary >= 0.6.4.0,/g\nw\nq\n' | ed openpgp.cabal find -name '*.o' -o -name '*.hi' | xargs $(RM) $(RM) sign verify keygen tests/suite $(RM) -r dist dist-ghc -- cgit v1.2.3