Permalink
Browse files

Makefile: Correctly exclude htmlize-hack.el from byte-compilation.

  • Loading branch information...
1 parent 031b897 commit 656b9a23f2b0b299b0687ef4f3297f5c54a0176b @bgoodr bgoodr committed with mwolson Jan 5, 2009
Showing with 2 additions and 4 deletions.
  1. +2 −4 contrib/Makefile
View
@@ -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 $<

0 comments on commit 656b9a2

Please sign in to comment.