aboutsummaryrefslogtreecommitdiff
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
parentAdd vm config (diff)
Add option to disable emacs compilation
-rwxr-xr-xMakefile5
-rw-r--r--SUBSTS2
2 files changed, 5 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 $@)
diff --git a/SUBSTS b/SUBSTS
index 55040c9..efcd686 100644
--- a/SUBSTS
+++ b/SUBSTS
@@ -8,6 +8,8 @@ SHA256 /sbin/sha256
# Disable GPG decryption of sensitive files. Must be True to disable, enabled
# for all other values
GPG_DISABLED False
+# Do we build emacs? Must be True to disable.
+EMACS_DISABLED True
# Mail passwords
GMAIL_PASS secret
QUEENSU_PASS secret