aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-27 23:53:06 -0700
committerGravatar Tom Willemse2019-08-27 23:53:06 -0700
commite530fbfc5f47e5fb19107f442f3d752ed049817c (patch)
tree99793460084b8663d7fff59492b9f3ba902154e0 /GNUmakefile
parent5ab30e5be5262c5abc74b3762a75b17c0eb7710c (diff)
downloademacs-config-e530fbfc5f47e5fb19107f442f3d752ed049817c.tar.gz
emacs-config-e530fbfc5f47e5fb19107f442f3d752ed049817c.zip
Add snippets for ‘oni-php’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 246208b..36b22e8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -3,7 +3,8 @@ 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-org
+ package-oni-haml package-oni-html package-oni-nxml package-oni-org \
+ package-oni-php
package-%: %
emacs --batch \
@@ -53,6 +54,12 @@ package-oni-org:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-org/dist/*.tar\") #'string>)))"
+package-oni-php:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-php/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -117,6 +124,14 @@ install-oni-org:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-org/dist/*.tar\") #'string>)))"
+install-oni-php:
+ 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-php/dist/*.tar\") #'string>)))"
+
test-%: install-%
emacs --batch \
--load oni-package.el \