]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Added Makefile with packaging commands.
[gnu-emacs-elpa] / Makefile
1 package: *.el
2 @ver=`grep -o "Version: .*" company.el | cut -c 10-`; \
3 tar cjvf company-$$ver.tar.bz2 --mode 644 `git ls-files '*.el' | xargs`
4
5 elpa: *.el
6 @version=`grep -o "Version: .*" company.el | cut -c 10-`; \
7 dir=company-$$version; \
8 mkdir -p "$$dir"; \
9 cp `git ls-files '*.el' | xargs` company-$$version; \
10 echo "(define-package \"company\" \"$$version\" \
11 \"extensible inline text completion mechanism\")" \
12 > "$$dir"/company-pkg.el; \
13 tar cvf company-$$version.tar --mode 644 "$$dir"
14
15 clean:
16 @rm -rf company-*/ company-*.tar company-*.tar.bz2