diff options
| author | Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de> | 2011-08-10 10:12:20 +0200 |
|---|---|---|
| committer | Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de> | 2011-08-10 10:12:20 +0200 |
| commit | 56c6d667ca00a2257a0c9714504438fbe63163fb (patch) | |
| tree | 50fa5116b7905b1b3a2a031979cb348c1dedd081 /Makefile | |
| parent | cdacd3035092a4a8fc88d43ac8630d2eb1fa649f (diff) | |
Do not compile evil-pkg.el
Makefile is modified such that evil-pkg.el and evil-tests.el are not
compiled using 'compile' or 'compile-batch' targets.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,17 +1,19 @@ SHELL = /bin/bash EMACS = emacs -FILES = evil*.el +FILES = $(filter-out evil-tests.el,$(filter-out evil-pkg.el,$(wildcard evil*.el))) ELPAPKG = evil-`sed -n '3s/.*"\(.*\)".*/\1/p' evil-pkg.el` TAG = +ELCFILES = $(FILES:.el=.elc) + .PHONY: all compile compile-batch clean tests test emacs term terminal indent elpa version # Byte-compile Evil. all: compile -compile: clean - for f in ${FILES}; do \ - $(EMACS) --batch -Q -L . -L lib -f batch-byte-compile $$f; \ -done +compile: $(ELCFILES) + +$(ELCFILES): %.elc: %.el + $(EMACS) --batch -Q -L . -L lib -f batch-byte-compile $< # Byte-compile all files in one batch. This is faster than # compiling each file in isolation, but also less stringent. @@ -76,8 +78,7 @@ indent: clean elpa: rm -rf ${ELPAPKG} mkdir ${ELPAPKG} - cp ${FILES} ${ELPAPKG} - rm ${ELPAPKG}/evil-tests.el + cp $(FILES) evil-pkg.el ${ELPAPKG} tar cf ${ELPAPKG}.tar ${ELPAPKG} rm -rf ${ELPAPKG} |
