Browse Source

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.
Achim Gratz 12 years ago
parent
commit
0c9ba74955
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lisp/Makefile

+ 3 - 3
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))"