summaryrefslogtreecommitdiff
path: root/dh-elpa.el
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-07-11 22:40:26 +0200
committerDavid Bremner <david@tethera.net>2015-07-12 08:08:39 +0200
commit45ac760c6da6cd86660ceac632525593477299c8 (patch)
tree62124b132fc442c5172dcd163aea305b6b8c3013 /dh-elpa.el
parent82a2216013af44a82b78fa9c999d4fec1501e3fc (diff)
minimal conversion to perl / debhelper lib
It turns out this isn't $MESSY_CONFLICT_ZONE, there are rules about writing debhelper extensions. This is mainly cargo culting from dh_installdocs. - compute destination directory, support multiple binary packages. - add debian/elpa file, test the "standard" codepath. Still not very standard because it's a single file elpa package.
Diffstat (limited to 'dh-elpa.el')
-rw-r--r--dh-elpa.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh-elpa.el b/dh-elpa.el
index ed70822..cff7009 100644
--- a/dh-elpa.el
+++ b/dh-elpa.el
@@ -64,8 +64,8 @@ Downloads and installs required packages as needed."
(defun dhelpa-batch-install-file ()
"install first command line argument (an emacs lisp file)
into second command line argument"
- (let ((el-file (car command-line-args-left))
- (dest (cadr command-line-args-left)))
+ (let ((dest (car command-line-args-left))
+ (el-file (cadr command-line-args-left)))
(with-temp-buffer
(insert-file-contents-literally el-file)
(dhelpa-install-from-buffer dest))))