]> git.rkrishnan.org Git - .emacs.d.git/blobdiff - Makefile
remove ghc-mod, other misc changes
[.emacs.d.git] / Makefile
index 25ef0ab630edcd0dde8e1302a7c5c3ea1002a5cf..d2c78ba55938cefa0aa91b9696ac9f6a67849184 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
 emacs ?= emacs
 
+inst:
+       # install hlint ghc-mod etc.. (assumption is that ghc and cabal-install
+       # are already installed.
+       cabal install hlint hindent alex happy
+
 upgrade:
+       cabal update
        $(emacs) -batch -l packages.el
 
 run:
        $(emacs) -Q -l init.el
 
-up: upgrade run
+up: upgrade inst run