aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-23 23:00:14 -0700
committerGravatar Tom Willemse2019-08-23 23:00:14 -0700
commita86af3f8fa2ca2a6ce964099b6dae0a866d2bf41 (patch)
treeade82a3b07f96f4ea342d9d0eede4bf03f41831d /GNUmakefile
parent7d7f6a7de86e91b8a430415d83a61e5e7a72db0f (diff)
downloademacs-config-a86af3f8fa2ca2a6ce964099b6dae0a866d2bf41.tar.gz
emacs-config-a86af3f8fa2ca2a6ce964099b6dae0a866d2bf41.zip
Fix install for ‘oni-conf’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index aa165a8..782f062 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -24,6 +24,14 @@ install-%:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file \"$*.el\")" \
+install-oni-conf:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval '(package-refresh-contents)' \
+ $(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
+ --eval "(package-install-file (car (sort (file-expand-wildcards \"oni-conf/dist/*.tar\") #'string>)))" \
+
test-%: install-%
emacs --batch \
--load oni-package.el \