Permalink
Browse files

More friendly to byte-compile lovers.

  • Loading branch information...
1 parent 9e95acb commit f7ed9fb28ea94f24c7ee32e52f3d27cf7d7beb23 @XeCycle XeCycle committed Mar 27, 2012
Showing with 6 additions and 1 deletion.
  1. +5 −0 Makefile
  2. +1 −1 monky.el
View
@@ -2,6 +2,11 @@ VERSION=0.1
ELS=monky.el
DIST_FILES=$(ELS) Makefile monky.texi monky.info README.md monky-pkg.el.in monky-pkg.el
+all: monky.elc monky.info
+
+monky.elc: monky.el
+ emacs -Q --batch -f batch-byte-compile monky.el
+
monky-pkg.el: monky-pkg.el.in
sed -e s/@VERSION@/$(VERSION)/ < $< > $@
View
@@ -24,7 +24,7 @@
;;; Code:
-(require 'cl)
+(eval-when-compile (require 'cl))
(require 'bindat)
(defgroup monky nil

0 comments on commit f7ed9fb

Please sign in to comment.