From 656b9a23f2b0b299b0687ef4f3297f5c54a0176b Mon Sep 17 00:00:00 2001 From: Brent Goodrick Date: Mon, 5 Jan 2009 07:24:39 -0800 Subject: [PATCH] Makefile: Correctly exclude htmlize-hack.el from byte-compilation. --- contrib/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/Makefile b/contrib/Makefile index e6103ca..859c71a 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -7,7 +7,8 @@ DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \ include $(DEFS) EL = $(wildcard *.el) -ELC = $(patsubst %.el,%.elc,$(EL)) +EL_NOT_BYTE_COMPILED = htmlize-hack.el +ELC = $(patsubst %.el,%.elc,$(filter-out $(EL_NOT_BYTE_COMPILED),$(EL))) all: contrib @@ -16,9 +17,6 @@ contrib: $(ELC) $(PROJECT)-build.elc: ../scripts/$(PROJECT)-build.el @echo $(PROJECT)-build.el is not byte-compiled -htmlize-hack.elc: htmlize-hack.el - @echo htmlize-hack.el is not byte-compiled - %.elc: %.el @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \ -f batch-byte-compile $< -- 2.11.4.GIT