Skip to content

Commit

Permalink
make: fix ghc invocations
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
simonmichael committed Feb 25, 2019
1 parent 8cf39e5 commit b2d5019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ VIEWPS=$(BROWSE)
# VIEWPDF=$(BROWSE)
# PRINT=lpr

GHC=ghc
#GHC=ghc
GHCI=ghci #-package ghc-datasize #-package ghc-heap-view
# GHCPKG=ghc-pkg
# HADDOCK=haddock
Expand Down Expand Up @@ -275,7 +275,7 @@ hledgerprof: \

hledgercov: \
$(call def-help,hledgercov, build "bin/hledgercov" for coverage reports (with ghc) )
$(GHC) $(MAIN) -fhpc -o bin/hledgercov -outputdir .hledgercovobjs $(BUILDFLAGS)
$(STACK) ghc $(MAIN) -fhpc -o bin/hledgercov -outputdir .hledgercovobjs $(BUILDFLAGS)

# hledger-lib/Hledger/Read/TimeclockReaderPP.hs
dev: dev.hs $(SOURCEFILES) \
Expand Down Expand Up @@ -306,7 +306,7 @@ dev-heap-upload:

tools/generatejournal: tools/generatejournal.hs \
$(call def-help,tools/generatejournal, build the generatejournal tool )
$(GHC) tools/generatejournal.hs
$(STACK) ghc tools/generatejournal.hs

ghcid: $(call def-help,ghcid, start ghcid autobuilder on hledger-lib + hledger)
ghcid -c 'make ghci'
Expand Down

0 comments on commit b2d5019

Please sign in to comment.