aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-20 00:21:12 -0700
committerGravatar Tom Willemse2019-08-20 00:21:12 -0700
commit58caf38935554d2bafc16080b6906fbe6902a72c (patch)
tree9dc87a59b4e88ea71f1b4b0936b8d682581338b7 /GNUmakefile
parent2d05019aa60ff29776ac26da150628191049489a (diff)
downloademacs-config-58caf38935554d2bafc16080b6906fbe6902a72c.tar.gz
emacs-config-58caf38935554d2bafc16080b6906fbe6902a72c.zip
Add ‘oni-conf’ and the ability to upload multi-file packages
‘oni-conf’ is the first package to include more than one file, it’s mostly a package to allow distributing snippets.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c33f856..c584d2e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -2,7 +2,7 @@ FILES := $(wildcard *.el)
PACKAGE_TARGETS := $(addprefix package-,$(FILES))
-package: $(PACKAGE_TARGETS)
+package: $(PACKAGE_TARGETS) package-oni-conf
package-%: %
emacs --batch \
@@ -10,6 +10,12 @@ package-%: %
--funcall package-initialize \
--eval '(package-upload-file "$^")'
+package-oni-conf:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval '(package-upload-file (car (file-expand-wildcards "oni-conf/dist/*.tar")))'
+
test-%:
emacs --batch \
--load oni-package.el \