From fd098d6deacbe1d55010e4ea6efb2b17b12cb1e6 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 18 Jan 2015 14:20:01 +0900 Subject: [PATCH] Use byte-compile to check emacs.el --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a4e26e7..7add50f 100644 --- a/Makefile +++ b/Makefile @@ -94,9 +94,14 @@ setup-emacs: emacs.el # test # ==== -test-el: emacs.el +test_els = test-el-emacs.el +test-el: $(test_els) +.PHONY: $(test_els) + +$(test_els): test-el-%: % + $(emacs) -Q -batch -f batch-byte-compile $< EMACS_EL_DRY_RUN=t $(emacs) -q --debug-init --batch \ - --eval "(setq debug-on-error t)" --load $< --kill + --eval "(setq debug-on-error t)" --load $