diff --git a/Makefile b/Makefile index da28edfc82..89deedd653 100644 --- a/Makefile +++ b/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