]> code.delx.au - gnu-emacs-elpa/blobdiff - Makefile
Tag company-dabbrev-ignore-buffers with package-version
[gnu-emacs-elpa] / Makefile
index 4d7a9ad1c3cbaac6d37483a9915e0d0671c5201e..015f3acba59880ba5138b024dd36b3b1cd091ccf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,16 @@
 EMACS=emacs
-CURL=curl --silent
-ERT_URL=http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/emacs-lisp/ert.el?h=emacs-24.3
 
 .PHONY: ert test test-batch
 
 package: *.el
        @ver=`grep -o "Version: .*" company.el | cut -c 10-`; \
-       tar cjvf company-$$ver.tar.bz2 --mode 644 `git ls-files '*.el' | xargs`
+       tar cjvf company-$$ver.tar.bz2 --mode 644 $$(find . -name \*.el)
 
 elpa: *.el
        @version=`grep -o "Version: .*" company.el | cut -c 10-`; \
        dir=company-$$version; \
        mkdir -p "$$dir"; \
-       cp `git ls-files '*.el' | xargs` company-$$version; \
+       cp $$(find . -name \*.el) company-$$version; \
        echo "(define-package \"company\" \"$$version\" \
        \"Modular in-buffer completion framework\")" \
        > "$$dir"/company-pkg.el; \
@@ -22,16 +20,12 @@ clean:
        @rm -rf company-*/ company-*.tar company-*.tar.bz2 *.elc ert.el
 
 test:
-       ${EMACS} -Q -nw -L . -l company-tests.el -l company-elisp-tests.el \
+       ${EMACS} -Q -nw -L . -l test/all.el \
        --eval "(let (pop-up-windows) (ert t))"
 
 test-batch:
-       ${EMACS} -Q --batch -L . -l company-tests.el -l company-elisp-tests.el \
+       ${EMACS} -Q --batch -L . -l test/all.el \
        --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))"
 
-downloads:
-       ${EMACS} -Q --batch -l ert || \
-       ${CURL} ${ERT_URL} > ert.el
-
 compile:
        ${EMACS} -Q --batch -L . -f batch-byte-compile company.el company-*.el