summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-02-08 00:59:02 +0100
committerGravatar Tom Willemse2016-02-08 00:59:02 +0100
commita7d9aa019168a99cca28059bc56d09cfb6fc46e0 (patch)
tree3a50463e65ead169deb0c3db049736f6c3d313cb
parent8d90ed3444790bd5faa6f5da70297d54650c4c3c (diff)
downloaddotfiles-a7d9aa019168a99cca28059bc56d09cfb6fc46e0.tar.gz
dotfiles-a7d9aa019168a99cca28059bc56d09cfb6fc46e0.zip
Add color to Emacs Makefile
-rw-r--r--emacs/.emacs.d/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/.emacs.d/Makefile b/emacs/.emacs.d/Makefile
index 753711e..4c731b1 100644
--- a/emacs/.emacs.d/Makefile
+++ b/emacs/.emacs.d/Makefile
@@ -12,11 +12,11 @@ all: init2.elc init.elc $(AUTOLOADS_FILE) $(SITE_LISPS) snippets
### Init
%.elc: %.el
- @echo "ELC $<"
+ @echo -e "\e[31mELC\e[0m $<"
@$(EMACS) $(EARGS) -eval "(byte-compile-file \"$<\")"
define tangle=
- @echo "OBT $<"
+ @echo -e "\e[35mOBT\e[0m $<"
@$(EMACS) $(EARGS) -l "ob-tangle" \
-eval "(org-babel-tangle-file \"$<\")"
endef
@@ -31,7 +31,7 @@ site-lisp/%-init.el: init-%.org
### Site Lisp
$(AUTOLOADS_FILE): $(SITE_LISPS)
- @echo "GEN $@"
+ @echo -e "\e[32mGEN\e[0m $@"
@$(EMACS) $(EARGS) \
-eval "(setq generated-autoload-file \"$(CURDIR)/$@\")" \
-eval "(update-directory-autoloads \"$(CURDIR)/site-lisp/\")"
@@ -42,7 +42,7 @@ SNIPPET_DIRS = $(wildcard snippets/*)
COMPILED_SNIPPETS = $(addsuffix /.yas-compiled-snippets.el, $(SNIPPET_DIRS))
%/.yas-compiled-snippets.el: %/*
- @echo "YAS $(CURDIR)/snippets"
+ @echo -e "\e[36mYAS\e[0m $(CURDIR)/snippets"
@$(EMACS) $(EARGS) -l yasnippet \
-eval "(yas-compile-directory \"$(CURDIR)/snippets\")"