branch: externals/assess
commit 2db9834e4ebab866dea7d6014e1fb6d53bb29350
Author: Phillip Lord <phillip.l...@russet.org.uk>
Commit: Phillip Lord <phillip.l...@russet.org.uk>

    Rework Makefile for update to cask
---
 Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index b6f1391d46..c8281a855c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,17 @@
-EMACS ?= emacs
+EMACS = emacs
 CASK ?= cask
 
--include makefile-local
+#-include makefile-local
+
+ifdef EMACS
+EMACS_ENV=EMACS=$(EMACS)
+endif
 
-export EMACS
 
 all: install test
 
 install:
-       EMACS=$(EMACS) cask install
+       $(EMACS_ENV) cask install
 
 just-test:
        EMACS=$(EMACS) cask exec ert-runner

Reply via email to