diff options
| author | Vegard Øye <vegard_oye@hotmail.com> | 2011-08-08 21:15:39 +0200 |
|---|---|---|
| committer | Vegard Øye <vegard_oye@hotmail.com> | 2011-08-08 21:15:39 +0200 |
| commit | 9a9fbc8a39ac46ad55cc06743fa69b90e26a866a (patch) | |
| tree | b76dd898f9b69a9599118421b1766fcce9af0bd7 /Makefile | |
| parent | 987f396a2426fdc419fec5c635390e9fa1c016e3 (diff) | |
Move dependencies into subdirectory
That way they don't enter the user's `load-path' when following
the installation instructions.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -9,13 +9,13 @@ TAG = all: compile compile: clean for f in ${FILES}; do \ - $(EMACS) --batch -Q -L . -f batch-byte-compile $$f; \ + $(EMACS) --batch -Q -L . -L lib -f batch-byte-compile $$f; \ done # Byte-compile all files in one batch. This is faster than # compiling each file in isolation, but also less stringent. compile-batch: clean - $(EMACS) --batch -Q -L . -f batch-byte-compile ${FILES} + $(EMACS) --batch -Q -L . -L lib -f batch-byte-compile ${FILES} # Delete byte-compiled files. clean: @@ -28,18 +28,18 @@ clean: # make test TAG=repeat # This will only run tests pertaining to the repeat system. test: clean - $(EMACS) --batch -Q -L . -l evil-tests.el \ + $(EMACS) --batch -Q -L . -L lib -l evil-tests.el \ --eval "(evil-tests-run '(${TAG}))" # Byte-compile Evil and run all tests. tests: compile-batch - $(EMACS) --batch -Q -L . -l evil-tests.el \ + $(EMACS) --batch -Q -L . -L lib -l evil-tests.el \ --eval "(evil-tests-run '(${TAG}))" rm -f *.elc # Load Evil in a fresh instance of Emacs and run all tests. emacs: clean - $(EMACS) -Q -L . -l evil-tests.el --eval "(evil-mode 1)" \ + $(EMACS) -Q -L . -L lib -l evil-tests.el --eval "(evil-mode 1)" \ --eval "(if (y-or-n-p-with-timeout \"Run tests? \" 2 t) \ (evil-tests-run '(${TAG}) t) \ (message \"You can run the tests at any time with \`M-x evil-tests-run\'\"))" & @@ -47,7 +47,7 @@ emacs: clean # Load Evil in a terminal Emacs and run all tests. term: terminal terminal: clean - $(EMACS) -nw -Q -L . -l evil-tests.el --eval "(evil-mode 1)" \ + $(EMACS) -nw -Q -L . -L lib -l evil-tests.el --eval "(evil-mode 1)" \ --eval "(if (y-or-n-p-with-timeout \"Run tests? \" 2 t) \ (evil-tests-run '(${TAG}) t) \ (message \"You can run the tests at any time with \`M-x evil-tests-run\'\"))" @@ -56,7 +56,7 @@ terminal: clean # Loads Evil into memory in order to indent macros properly. # Also removes trailing whitespace, tabs and extraneous blank lines. indent: clean - $(EMACS) --batch ${FILES} -Q -L . -l evil-tests.el \ + $(EMACS) --batch ${FILES} -Q -L . -L lib -l evil-tests.el \ --eval "(dolist (buffer (reverse (buffer-list))) \ (when (buffer-file-name buffer) \ (set-buffer buffer) \ |
