Skip to content

Commit

Permalink
Makefile: Only byte-compile wcheck-mode.el
Browse files Browse the repository at this point in the history
  • Loading branch information
tlikonen committed Jun 13, 2013
1 parent b17f9e3 commit e2ac273
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ MAIN := $(BASE).el
PKG := $(BASE)-pkg.el
FILES := $(MAIN) $(PKG) COPYING README
NAME := $(BASE)-$(VERSION)
ELC := $(patsubst %.el,%.elc,$(wildcard *.el))

elpa: $(NAME).tar
sign: $(NAME).tar.sig
Expand All @@ -27,13 +26,13 @@ $(PKG):
README: README.md
cp -f -- $< $@

$(ELC): %.elc: %.el
$(BASE).elc: %.elc: %.el
emacs -Q --batch -f batch-byte-compile $<

tag:
git tag -s $(VERSION) -m 'Version $(VERSION)' HEAD

clean:
rm -f -- $(PKG) $(BASE)*.tar* README $(ELC)
rm -f -- $(PKG) $(BASE)*.tar* README $(BASE).elc

.PHONY: elpa sign tag clean elc

0 comments on commit e2ac273

Please sign in to comment.