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
|
bins=git-annex
|
||||||
mans=git-annex.1 git-annex-shell.1
|
mans=git-annex.1 git-annex-shell.1
|
||||||
sources=Build/SysConfig.hs Utility/Touch.hs Utility/Mounts.hs
|
sources=Build/SysConfig.hs Utility/Touch.hs Utility/Mounts.hs
|
||||||
thfiles=Assistant/Threads/WebApp.hs $(shell find Assistant/WebApp*)
|
|
||||||
all=$(bins) $(mans) docs
|
all=$(bins) $(mans) docs
|
||||||
|
|
||||||
OS:=$(shell uname | sed 's/[-_].*//')
|
OS:=$(shell uname | sed 's/[-_].*//')
|
||||||
|
@ -57,13 +56,7 @@ Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs
|
||||||
%.hs: %.hsc
|
%.hs: %.hsc
|
||||||
hsc2hs $<
|
hsc2hs $<
|
||||||
|
|
||||||
# Force GHC to rebuild template haskell files whenever includes
|
git-annex: $(sources) $(clibs)
|
||||||
# change
|
|
||||||
$(thfiles): $(shell find templates static)
|
|
||||||
$(thfiles):
|
|
||||||
touch $(thfiles)
|
|
||||||
|
|
||||||
git-annex: $(sources) $(clibs) $(thfiles)
|
|
||||||
install -d $(GIT_ANNEX_TMP_BUILD_DIR)
|
install -d $(GIT_ANNEX_TMP_BUILD_DIR)
|
||||||
$(GHCMAKE) $@ -o $(GIT_ANNEX_TMP_BUILD_DIR)/git-annex $(clibs)
|
$(GHCMAKE) $@ -o $(GIT_ANNEX_TMP_BUILD_DIR)/git-annex $(clibs)
|
||||||
ln -sf $(GIT_ANNEX_TMP_BUILD_DIR)/git-annex git-annex
|
ln -sf $(GIT_ANNEX_TMP_BUILD_DIR)/git-annex git-annex
|
||||||
|
|
Loading…
Reference in a new issue