From a7d9aa019168a99cca28059bc56d09cfb6fc46e0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 8 Feb 2016 00:59:02 +0100 Subject: Add color to Emacs Makefile --- emacs/.emacs.d/Makefile | 8 ++++---- 1 file 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\")" -- cgit v1.2.3-54-g00ecf