diff --git a/Makefile b/Makefile index cdd57b672..58d3a44f2 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ default: tag build # patches since last release tag (as a haskell string literal) -PATCHES:=`expr \`darcs changes --count --from-tag=\\\\\.\` - 1` +PATCHES:=$(shell expr `darcs changes --count --from-tag=\\\\\.` - 1) # build the normal hledger binary BUILD=ghc --make hledger.hs -o hledger -O