re-enable fast autobuild from vim
This commit is contained in:
parent
8d47acc8f8
commit
e7b78c2eec
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -5,13 +5,18 @@ GHC?=ghc
|
||||||
GHCMAKE=$(GHC) $(GHCFLAGS) --make
|
GHCMAKE=$(GHC) $(GHCFLAGS) --make
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
|
||||||
|
# Am I typing :make in vim? Do a fast build.
|
||||||
|
ifdef VIM
|
||||||
|
all=fast
|
||||||
|
endif
|
||||||
|
|
||||||
build: $(all)
|
build: $(all)
|
||||||
|
|
||||||
# We bypass cabal, and only run the main ghc --make command for a
|
# We bypass cabal, and only run the main ghc --make command for a
|
||||||
# fast development built. Note: Does not rebuild C libraries.
|
# fast development built. Note: Does not rebuild C libraries.
|
||||||
fast: dist/caballog
|
fast: dist/caballog
|
||||||
$$(grep 'ghc --make' dist/caballog | head -n 1)
|
@$$(grep 'ghc --make' dist/caballog | head -n 1)
|
||||||
ln -sf dist/build/git-annex/git-annex git-annex
|
@ln -sf dist/build/git-annex/git-annex git-annex
|
||||||
|
|
||||||
dist/caballog:
|
dist/caballog:
|
||||||
cabal configure -f"-Production Fast"
|
cabal configure -f"-Production Fast"
|
||||||
|
|
Loading…
Reference in a new issue