remove template haskell file touching

too annoying
This commit is contained in:
Joey Hess 2012-08-07 13:25:06 -04:00
parent c08ce66427
commit a66e1f68ca

View file

@ -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