Pretty-print yasnippet compilation

This commit is contained in:
Tom Willemse 2015-12-17 09:39:17 +01:00
parent 4a247afc22
commit cb56a7f260

View file

@ -42,7 +42,8 @@ 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: %/*
$(EMACS) $(EARGS) -l yasnippet \ @echo "YAS $(CURDIR)/snippets"
@$(EMACS) $(EARGS) -l yasnippet \
-eval "(yas-compile-directory \"$(CURDIR)/snippets\")" -eval "(yas-compile-directory \"$(CURDIR)/snippets\")"
snippets: $(COMPILED_SNIPPETS) snippets: $(COMPILED_SNIPPETS)