THRIFT-2185 use cabal instead of runhaskell in haskell library
Patch: John Chee
diff --git a/lib/hs/Makefile.am b/lib/hs/Makefile.am
index 3464a4f..3db1df9 100644
--- a/lib/hs/Makefile.am
+++ b/lib/hs/Makefile.am
@@ -26,18 +26,18 @@
src
all-local:
- $(RUNHASKELL) Setup.lhs configure $(CABAL_CONFIGURE_FLAGS)
- $(RUNHASKELL) Setup.lhs build
+ $(CABAL) configure $(CABAL_CONFIGURE_FLAGS)
+ $(CABAL) build
install-exec-hook:
- $(RUNHASKELL) Setup.lhs install
+ $(CABAL) install
# Make sure this doesn't fail if Haskell is not configured.
clean-local:
- $(RUNHASKELL) Setup.lhs clean
+ $(CABAL) clean
maintainer-clean-local:
- $(RUNHASKELL) Setup.lhs clean
+ $(CABAL) clean
check-local:
$(CABAL) check