aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6df8515..ce985ac 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -2,7 +2,8 @@ FILES := $(wildcard *.el)
PACKAGE_TARGETS := $(addprefix package-,$(FILES))
-package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp
+package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp \
+ package-oni-haml
package-%: %
emacs --batch \
@@ -28,6 +29,12 @@ package-oni-elisp:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-elisp/dist/*tar\") #'string>)))"
+package-oni-haml:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-haml/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -60,6 +67,14 @@ install-oni-elisp:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-elisp/dist/*.tar\") #'string>)))"
+install-oni-haml:
+ 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-haml/dist/*.tar\") #'string>)))"
+
test-%: install-%
emacs --batch \
--load oni-package.el \