remove template haskell file touching
too annoying
This commit is contained in:
parent
c08ce66427
commit
a66e1f68ca
1 changed files with 1 additions and 8 deletions
9
Makefile
9
Makefile
|
@ -7,7 +7,6 @@ FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_WEBAPP
|
|||
bins=git-annex
|
||||
mans=git-annex.1 git-annex-shell.1
|
||||
sources=Build/SysConfig.hs Utility/Touch.hs Utility/Mounts.hs
|
||||
thfiles=Assistant/Threads/WebApp.hs $(shell find Assistant/WebApp*)
|
||||
all=$(bins) $(mans) docs
|
||||
|
||||
OS:=$(shell uname | sed 's/[-_].*//')
|
||||
|
@ -57,13 +56,7 @@ Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs
|
|||
%.hs: %.hsc
|
||||
hsc2hs $<
|
||||
|
||||
# Force GHC to rebuild template haskell files whenever includes
|
||||
# change
|
||||
$(thfiles): $(shell find templates static)
|
||||
$(thfiles):
|
||||
touch $(thfiles)
|
||||
|
||||
git-annex: $(sources) $(clibs) $(thfiles)
|
||||
git-annex: $(sources) $(clibs)
|
||||
install -d $(GIT_ANNEX_TMP_BUILD_DIR)
|
||||
$(GHCMAKE) $@ -o $(GIT_ANNEX_TMP_BUILD_DIR)/git-annex $(clibs)
|
||||
ln -sf $(GIT_ANNEX_TMP_BUILD_DIR)/git-annex git-annex
|
||||
|
|
Loading…
Reference in a new issue