aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-27 23:43:04 -0700
committerGravatar Tom Willemse2019-08-27 23:43:04 -0700
commit5ab30e5be5262c5abc74b3762a75b17c0eb7710c (patch)
tree5b8745629b4554a138e43095edb14d397bfcc0b3 /GNUmakefile
parentd5cca9d5795824fd2a2b54e6254a0354735ce500 (diff)
downloademacs-config-5ab30e5be5262c5abc74b3762a75b17c0eb7710c.tar.gz
emacs-config-5ab30e5be5262c5abc74b3762a75b17c0eb7710c.zip
Add snippets for ‘oni-org’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e58648c..246208b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -3,7 +3,7 @@ FILES := $(wildcard *.el)
PACKAGE_TARGETS := $(addprefix package-,$(FILES))
package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp \
- package-oni-haml package-oni-html package-oni-nxml
+ package-oni-haml package-oni-html package-oni-nxml package-oni-org
package-%: %
emacs --batch \
@@ -47,6 +47,12 @@ package-oni-nxml:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-nxml/dist/*.tar\") #'string>)))"
+package-oni-org:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-org/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -103,6 +109,14 @@ install-oni-nxml:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-nxml/dist/*.tar\") #'string>)))"
+install-oni-org:
+ emacs --batch \
+ --load oni-package.el \
+ --fluncall 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-org/dist/*.tar\") #'string>)))"
+
test-%: install-%
emacs --batch \
--load oni-package.el \