diff options
author | Achim Gratz <Stromeko@Stromeko.DE> | 2011-11-13 11:07:21 +0100 |
---|---|---|
committer | Achim Gratz <Stromeko@Stromeko.DE> | 2012-04-20 21:04:10 +0200 |
commit | 510a51310bb13c7ef8d0a05eb0a25ef2fe2722d0 (patch) | |
tree | f046e96be60465524834845f1c77b7729d5e4218 | |
parent | cb8600b1ba15565f696ebfd34fc169508678262b (diff) | |
download | org-mode-510a51310bb13c7ef8d0a05eb0a25ef2fe2722d0.tar.gz |
use batch-byte-recompile-directory instead of batch-byte-compile
* lisp/Makefile: use batch-byte-recompile-directory instead of
batch-byte-compile; remove pattern rule for compiling single file
from source
* lisp/Makefile: add compile-dirty to list of phony targets
-rw-r--r-- | lisp/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lisp/Makefile b/lisp/Makefile index 6b67392..ac3445f 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -1,3 +1,4 @@ +.SUFFIXES: # we don't need default suffix rules ifeq ($(MAKELEVEL), 0) $(error This make needs to be started as a sub-make from the toplevel directory.) endif @@ -6,11 +7,12 @@ LISPO = org-install.el LISPF = $(subst $(LISPO),,$(wildcard *.el)) LISPC = $(LISPF:%el=%elc) -.PHONY: all autoloads compile install clean cleanall clean-install +.PHONY: all compile compile-dirty autoloads install clean cleanall clean-install all \ compile \ -compile-dirty: $(LISPC) +compile-dirty: + $(BATCH) --eval '(batch-byte-recompile-directory 0)' autoloads: $(LISPO) @@ -38,9 +40,3 @@ cleanall: clean-install: if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ; $(RM) $(lispdir)/org*.el* $(lispdir)/ob*.el* - -.SUFFIXES: # we don't need default suffix rules -.SUFFIXES: .el .elc - -.el.elc: - $(ELC) $< |