Skip to content

Commit

Permalink
Makefile: Correctly exclude htmlize-hack.el from byte-compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoodr authored and mwolson committed Jan 6, 2009
1 parent 031b897 commit 656b9a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions contrib/Makefile
Expand Up @@ -7,7 +7,8 @@ DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \
include $(DEFS) include $(DEFS)


EL = $(wildcard *.el) 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 all: contrib


Expand All @@ -16,9 +17,6 @@ contrib: $(ELC)
$(PROJECT)-build.elc: ../scripts/$(PROJECT)-build.el $(PROJECT)-build.elc: ../scripts/$(PROJECT)-build.el
@echo $(PROJECT)-build.el is not byte-compiled @echo $(PROJECT)-build.el is not byte-compiled


htmlize-hack.elc: htmlize-hack.el
@echo htmlize-hack.el is not byte-compiled

%.elc: %.el %.elc: %.el
@$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \ @$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \
-f batch-byte-compile $< -f batch-byte-compile $<
Expand Down

0 comments on commit 656b9a2

Please sign in to comment.