aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-27 23:25:50 -0700
committerGravatar Tom Willemse2019-08-27 23:27:58 -0700
commit51a84644e6e0d756a8c917a500d95053cbb27d4a (patch)
tree95af0972ca20e391c14fa81213b439ae96e056fc /GNUmakefile
parentbdeaa081204b81644207d5895c2fc5ee9b2bdaeb (diff)
downloademacs-config-51a84644e6e0d756a8c917a500d95053cbb27d4a.tar.gz
emacs-config-51a84644e6e0d756a8c917a500d95053cbb27d4a.zip
Add snippets to ‘oni-html’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index ce985ac..82bb3f6 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-haml package-oni-html
package-%: %
emacs --batch \
@@ -35,6 +35,12 @@ package-oni-haml:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-haml/dist/*.tar\") #'string>)))"
+package-oni-html:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-html/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -75,6 +81,14 @@ install-oni-haml:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-haml/dist/*.tar\") #'string>)))"
+install-oni-html:
+ 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-html/dist/*.tar\") #'string>)))"
+
test-%: install-%
emacs --batch \
--load oni-package.el \