From 0c9ba749554fbf07ebe6e4b67a8fe845a7979d58 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Mon, 4 Jun 2012 21:27:27 +0200 Subject: [PATCH] provide for .el files that should be installed, but not compiled * lisp/Makefile: Add LISPN (empty by default) which is used to filter out files from LISPC. This means that install will not fail due to a corresponding .elc missing. This might become useful if lisp source files set "no-byte-compile: t" for whatever reason. --- lisp/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/Makefile b/lisp/Makefile index be6be5ff3..b4b3e2282 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -8,7 +8,7 @@ LISPV = org-version.el LISPI = org-install.el LISPA = $(LISPV) $(LISPI) LISPF = $(filter-out $(LISPA),$(wildcard *.el)) -LISPC = $(LISPF:%el=%elc) +LISPC = $(filter-out $(LISPN:%el=%elc),$(LISPF:%el=%elc)) .PHONY: all compile compile-dirty \ autoloads \ @@ -16,10 +16,10 @@ LISPC = $(LISPF:%el=%elc) # do not clean here, done in toplevel make all compile:: autoloads -all compile compile-dirty:: $(LISPA) +all compile compile-dirty:: $(LISPI) $(LISPV) $(ELCDIR) -autoloads: cleanauto $(LISPA) +autoloads: cleanauto $(LISPI) $(LISPV) $(LISPV): $(LISPF) @echo "org-version: $(ORGVERSION) ($(GITVERSION))"