Permalink
Browse files

Prepare to ELPA support.

  • Loading branch information...
1 parent 5996247 commit 4d2d572877c4038cd2edf1e2bed660ba985e6d74 Tomohiro Matsuyama committed Mar 21, 2012
Showing with 13 additions and 6 deletions.
  1. +9 −6 Makefile
  2. +4 −0 auto-complete-pkg.el
View
@@ -2,7 +2,7 @@ VERSION=`perl -ne 'print $$1 if /;; Version: (.*)/' auto-complete.el`
PACKAGE=auto-complete-${VERSION}
byte-compile:
- emacs -Q -L . -batch -f batch-byte-compile *.el
+ emacs -Q -L . -batch -f batch-byte-compile auto-complete.el auto-complete-config.el
install:
emacs -Q -L . -batch -l etc/install ${DIR}
@@ -11,14 +11,17 @@ clean:
rm -f *.elc
rm -f doc/*.html
rm -rf ${PACKAGE}
- rm -f ${PACKAGE}.zip ${PACKAGE}.tar.bz2
+ rm -f ${PACKAGE}.zip ${PACKAGE}.tar ${PACKAGE}.tar.bz2
package: clean
mkdir ${PACKAGE}
- cp -r *.el Makefile README.txt TODO.txt COPYING.*.txt doc etc dict ${PACKAGE}
+ cp -r *.el Makefile *.md COPYING.* doc etc dict ${PACKAGE}
-tar.bz2: package
- tar cjf ${PACKAGE}.tar.bz2 ${PACKAGE}
+package.tar: package
+ tar cf ${PACKAGE}.tar ${PACKAGE}
-zip: package
+package.tar.bz2: tar
+ bzip2 ${PACKAGE}.tar
+
+package.zip: package
zip -r ${PACKAGE}.zip ${PACKAGE}
View
@@ -0,0 +1,4 @@
+(define-package "auto-complete"
+ "1.4"
+ "Auto Completion for GNU Emacs"
+ '((popup "0.5")))

0 comments on commit 4d2d572

Please sign in to comment.