Add color to Emacs Makefile
This commit is contained in:
parent
8d90ed3444
commit
a7d9aa0191
1 changed files with 4 additions and 4 deletions
|
@ -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\")"
|
||||
|
||||
|
|
Loading…
Reference in a new issue