From 2ca48583f3647bd26a80521f9fea0bfc08907285 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 6 Mar 2013 15:27:04 -0500 Subject: Add option to disable emacs compilation --- Makefile | 5 +++-- SUBSTS | 2 ++ 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 -- cgit v1.2.3