aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 3bbf1c3..bd54c60 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -3,10 +3,13 @@ FILES := $(wildcard oni-*.el)
PACKAGE_TARGETS := $(addprefix package-,$(FILES))
define upload =
- emacs --batch \
+ emacs --quick --batch \
+ --eval "(setq package-user-dir \"local-elpa/\")" \
--load oni-package.el \
--funcall package-initialize \
- --eval "(package-upload-file $1)"
+ --eval "(let ((package-archive-upload-base \"bin/\")) \
+ (mkdir package-archive-upload-base t) \
+ (package-upload-file $1))"
endef
define upload-multi-file =