Browse Source

Makefile: Make test-el to test under private home dir

pull/15/head
10sr 9 years ago
parent
commit
e0e2224b20
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Makefile

+ 4
- 2
Makefile View File

@@ -377,10 +377,12 @@ test_els := test-el-emacs.el
test-el: $(test_els) test-el: $(test_els)
.PHONY: $(test_els) .PHONY: $(test_els)


$(test_els): test-el-%: $(dotfiles_dir)/%
$(test_els): test-el-%: $(dotfiles_dir)/% $(home)
$(emacs) -Q -batch -f batch-byte-compile $< $(emacs) -Q -batch -f batch-byte-compile $<
EMACS_EL_DRY_RUN=t $(emacs) -q --debug-init --batch \ EMACS_EL_DRY_RUN=t $(emacs) -q --debug-init --batch \
--eval "(setq debug-on-error t)" --load $<c --kill
--eval "(setq debug-on-error t)" \
--eval "(setq user-emacs-directory \"$(home)/.emacs.d/\")" \
--load $<c --kill








Loading…
Cancel
Save