We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4d2170 commit 571f945Copy full SHA for 571f945
Makefile
@@ -1,4 +1,4 @@
1
-.PHONY: all
+.PHONY: all elpa-package elpa-install
2
3
VERSION=0.1.0
4
@@ -13,3 +13,10 @@ README: README.md
13
# create a tar ball in package.el format for uploading to http://marmalade-repo.org
14
elpa-package: README drupal-mode.el drupal-mode-pkg.el drupal-mode.info dir
15
tar -c -s "@^@drupal-mode-${VERSION}/@" -f drupal-mode-${VERSION}.tar $^
16
+
17
+elpa-install: elpa-package
18
+ emacs --batch --eval "(progn \
19
+ (require 'package)\
20
+ (add-to-list 'package-archives '(\"marmalade\" . \"http://marmalade-repo.org/packages/\"))\
21
+ (package-initialize)\
22
+ (package-install-file \"`pwd`/drupal-mode-${VERSION}.tar\"))"
0 commit comments