From 93128d71b49540bc63b3be728700f915278b45c1 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 26 Oct 2014 11:29:17 -0700 Subject: [PATCH] makefile updates --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3fe9a7561..44761d170 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ GHCPKG=ghc-pkg HADDOCK=haddock CABAL=cabal CABALINSTALL=cabal install -w $(GHC) +SHELLTEST=shelltest # used for make auto, http://joyful.com/repos/searchpath SP=sp @@ -44,7 +45,7 @@ INCLUDEPATHS=\ -ihledger-web \ -ihledger-web/app -MAIN=hledger/hledger-cli.hs +MAIN=hledger/app/hledger-cli.hs # all source files in the project (plus a few strays like Setup.hs & hlint.hs) SOURCEFILES:= \ @@ -308,9 +309,9 @@ linuxbinaries: linuxbinary-hledger \ @echo 'Please check the binaries look portable, then make compressbinaries:' -file bin/*`arch` -# work around for inconsistently-named (why ?) hledger/hledger-cli.hs +# work around for inconsistently-named (why ?) hledger/app/hledger-cli.hs linuxbinary-hledger: - $(GHC) hledger/hledger-cli.hs -o bin/$*$(RELEASEBINARYSUFFIX) $(LINUXRELEASEBUILDFLAGS) + $(GHC) hledger/app/hledger-cli.hs -o bin/$*$(RELEASEBINARYSUFFIX) $(LINUXRELEASEBUILDFLAGS) linuxbinary-%: $(GHC) $*/$*.hs -o bin/$*$(RELEASEBINARYSUFFIX) $(LINUXRELEASEBUILDFLAGS) @@ -428,8 +429,6 @@ packdeps: ###################################################################### # TESTING -SHELLTEST=shelltest - test: codetest # quick code tests - run all the time