diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-27 21:41:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-27 21:41:51 -0400 |
commit | f54b34a6e6cb000d3117106fd19c13ef9dc7f38f (patch) | |
tree | fbdf4c40feae0f57ee5e161555e63c9d512f0e64 /Makefile | |
parent | 14a327d693dd4814e58e150b6811c42eb4fd9d5e (diff) |
re-enable fast autobuild from vim
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -5,13 +5,18 @@ GHC?=ghc GHCMAKE=$(GHC) $(GHCFLAGS) --make PREFIX=/usr +# Am I typing :make in vim? Do a fast build. +ifdef VIM +all=fast +endif + build: $(all) # We bypass cabal, and only run the main ghc --make command for a # fast development built. Note: Does not rebuild C libraries. fast: dist/caballog - $$(grep 'ghc --make' dist/caballog | head -n 1) - ln -sf dist/build/git-annex/git-annex git-annex + @$$(grep 'ghc --make' dist/caballog | head -n 1) + @ln -sf dist/build/git-annex/git-annex git-annex dist/caballog: cabal configure -f"-Production Fast" |