THRIFT-2185 use cabal instead of runhaskell in haskell library
authorRoger Meier <roger@apache.org>
Sun, 12 Jan 2014 12:09:25 +0000 (13:09 +0100)
committerRoger Meier <roger@apache.org>
Sun, 12 Jan 2014 12:10:50 +0000 (13:10 +0100)
Patch: John Chee

lib/hs/Makefile.am

index 3464a4f..3db1df9 100644 (file)
@@ -26,18 +26,18 @@ EXTRA_DIST = \
   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