mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: makefile fixes, don't break make when hledger source has errors
This commit is contained in:
parent
343b5b0a4c
commit
555a594bdf
7
Makefile
7
Makefile
@ -103,10 +103,13 @@ VERSIONSENSITIVEFILES=\
|
||||
$(CABALFILES) \
|
||||
hledger-web/.hledger/web/.version \
|
||||
|
||||
BINARYFILENAME:=$(shell touch $(VERSIONHS); runhaskell -ihledger -ihledger-lib $(MAIN) --binary-filename)
|
||||
# get an accurate binary filename from the current source on the current platform
|
||||
# nb not := as that would break the makefile when hledger is not compiling.
|
||||
BINARYFILENAME=$(shell touch $(VERSIONHS); runhaskell -ihledger -ihledger-lib $(MAIN) --binary-filename)
|
||||
|
||||
RELEASEBINARYSUFFIX:=$(shell echo "-$(VERSION)-`uname`-`arch`" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
default: tag hledger
|
||||
default: tag bin/hledger
|
||||
|
||||
######################################################################
|
||||
# BUILDING
|
||||
|
Loading…
Reference in New Issue
Block a user