Allow Emacs executable to be overriden in Makefile

e.g. make json EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
This commit is contained in:
Steve Purcell 2012-07-24 21:28:41 +01:00
parent 0d2445fcd4
commit c7a127b9c6

View file

@ -3,8 +3,9 @@ PKGDIR := ./packages
RCPDIR := ./recipes RCPDIR := ./recipes
HTMLDIR := ./html HTMLDIR := ./html
WORKDIR := ./working WORKDIR := ./working
EMACS := emacs
EVAL := emacs --no-site-file --batch -l package-build.el --eval EVAL := $(EMACS) --no-site-file --batch -l package-build.el --eval
all: build json index all: build json index