]> code.delx.au - gnu-emacs-elpa/commitdiff
Add compile target
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 9 May 2013 17:54:33 +0000 (21:54 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 9 May 2013 17:54:33 +0000 (21:54 +0400)
Makefile

index ff1dc3e6fafe293a80ccd1079e66ff8afc6e95da..f11b04e949144ef928465c940abd934c045a1e51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ elpa: *.el
        tar cvf company-$$version.tar --mode 644 "$$dir"
 
 clean:
-       @rm -rf company-*/ company-*.tar company-*.tar.bz2
+       @rm -rf company-*/ company-*.tar company-*.tar.bz2 *.elc ert.el
 
 test:
        ${EMACS} -Q -nw -L . -l company-tests.el \
@@ -32,3 +32,6 @@ test-batch:
 downloads:
        ${EMACS} -Q --batch -l ert || \
        ${CURL} ${ERT_URL} > ert.el
+
+compile:
+       ${EMACS} -Q --batch -L . -f batch-byte-compile company.el company-*.el