aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-03-06 15:27:04 -0500
committerRyan Kavanagh <rak@debian.org>2013-03-06 15:27:04 -0500
commit2ca48583f3647bd26a80521f9fea0bfc08907285 (patch)
tree680d207f6aad7500b64cb7b7ddc6a5d6eeefb42d /Makefile
parentAdd vm config (diff)
Add option to disable emacs compilation
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 622f814..539356e 100755
--- a/Makefile
+++ b/Makefile
@@ -86,6 +86,7 @@ CURRENT_BRANCH = $(shell git branch --no-color | colrm 1 2)
SHA256 = $(call get-val,SHA256)
GPG_DISABLED = $(call get-val,GPG_DISABLED)
GPG_BINARY = $(call get-val,GPG_BINARY)
+EMACS_DISABLED= $(call get-val,EMACS_DISABLED)
VARS_.devscripts = MSMTP_PATH
VARS_.gitconfig = MSMTP_PATH
@@ -131,8 +132,8 @@ $(GPG_FILES):
[ "$(GPG_DISABLED)" = "True" ] || $(GPG_BINARY) --decrypt gpg/$@.gpg > $@
emacsen:
- $(MAKE) -C $@
- $(MAKE) -C $@ install
+ [ "$(EMACS_DISABLED)" = "True" ] || $(MAKE) -C $@
+ [ "$(EMACS_DISABLED)" = "True" ] || $(MAKE) -C $@ install
build/%: % $(SUBSTS_FILE)
[ -d $(dir $@) ] || mkdir -p $(dir $@)