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
|
### Init
|
||||||
|
|
||||||
%.elc: %.el
|
%.elc: %.el
|
||||||
@echo "ELC $<"
|
@echo -e "\e[31mELC\e[0m $<"
|
||||||
@$(EMACS) $(EARGS) -eval "(byte-compile-file \"$<\")"
|
@$(EMACS) $(EARGS) -eval "(byte-compile-file \"$<\")"
|
||||||
|
|
||||||
define tangle=
|
define tangle=
|
||||||
@echo "OBT $<"
|
@echo -e "\e[35mOBT\e[0m $<"
|
||||||
@$(EMACS) $(EARGS) -l "ob-tangle" \
|
@$(EMACS) $(EARGS) -l "ob-tangle" \
|
||||||
-eval "(org-babel-tangle-file \"$<\")"
|
-eval "(org-babel-tangle-file \"$<\")"
|
||||||
endef
|
endef
|
||||||
|
@ -31,7 +31,7 @@ site-lisp/%-init.el: init-%.org
|
||||||
### Site Lisp
|
### Site Lisp
|
||||||
|
|
||||||
$(AUTOLOADS_FILE): $(SITE_LISPS)
|
$(AUTOLOADS_FILE): $(SITE_LISPS)
|
||||||
@echo "GEN $@"
|
@echo -e "\e[32mGEN\e[0m $@"
|
||||||
@$(EMACS) $(EARGS) \
|
@$(EMACS) $(EARGS) \
|
||||||
-eval "(setq generated-autoload-file \"$(CURDIR)/$@\")" \
|
-eval "(setq generated-autoload-file \"$(CURDIR)/$@\")" \
|
||||||
-eval "(update-directory-autoloads \"$(CURDIR)/site-lisp/\")"
|
-eval "(update-directory-autoloads \"$(CURDIR)/site-lisp/\")"
|
||||||
|
@ -42,7 +42,7 @@ SNIPPET_DIRS = $(wildcard snippets/*)
|
||||||
COMPILED_SNIPPETS = $(addsuffix /.yas-compiled-snippets.el, $(SNIPPET_DIRS))
|
COMPILED_SNIPPETS = $(addsuffix /.yas-compiled-snippets.el, $(SNIPPET_DIRS))
|
||||||
|
|
||||||
%/.yas-compiled-snippets.el: %/*
|
%/.yas-compiled-snippets.el: %/*
|
||||||
@echo "YAS $(CURDIR)/snippets"
|
@echo -e "\e[36mYAS\e[0m $(CURDIR)/snippets"
|
||||||
@$(EMACS) $(EARGS) -l yasnippet \
|
@$(EMACS) $(EARGS) -l yasnippet \
|
||||||
-eval "(yas-compile-directory \"$(CURDIR)/snippets\")"
|
-eval "(yas-compile-directory \"$(CURDIR)/snippets\")"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue