From a631951c4d21c43ab906a3cad226f0eff47bf21a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 3 Mar 2015 12:48:12 +0900 Subject: [PATCH] Add run-emacs target --- Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d60b813..d347730 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,9 @@ setups := setup-darwin setup-directories setup-emacs setup-gitconf \ setup-all: $(setups) +runs := run-emacs run-bash run-zsh + + # `make check` is just an alias for `make test` check: test @@ -343,6 +346,13 @@ setup-rc-tmux.conf: topfile := $(home)/.tmux.conf setup-rc-emacs.el: topfile := $(home)/.emacs.d/init.el +# run +# === + +run-emacs: $(dotfiles_dir)/emacs.el + $(emacs) -q --eval "(setq )" --load "$<" + + @@ -395,8 +405,3 @@ sexp_elisp_syntax_check := \ $(test_syntax_els): test-syntax-%: $(dotfiles_dir)/% $(emacs) -Q --debug-init --batch \ --eval '(let ((file "$<")) $(sexp_elisp_syntax_check))' --kill - - - -run-emacs: - $(emacs) -nw