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 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 $@) -- cgit v1.2.3