diff options
author | Tom Willemse | 2014-08-21 00:23:56 +0200 |
---|---|---|
committer | Tom Willemse | 2014-08-21 00:23:56 +0200 |
commit | c2778f0f713cc885087d6302196e421596ff248e (patch) | |
tree | f289c9e52bcaa6dd1ef7b64343df78492a36141d /emacs/.emacs.d/Makefile | |
parent | 05415b9b2c455fb5e5f2521610b9d7dd33385d21 (diff) | |
download | dotfiles-c2778f0f713cc885087d6302196e421596ff248e.tar.gz dotfiles-c2778f0f713cc885087d6302196e421596ff248e.zip |
Add Emacs config
Diffstat (limited to 'emacs/.emacs.d/Makefile')
-rw-r--r-- | emacs/.emacs.d/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/emacs/.emacs.d/Makefile b/emacs/.emacs.d/Makefile new file mode 100644 index 0000000..c7f593f --- /dev/null +++ b/emacs/.emacs.d/Makefile @@ -0,0 +1,29 @@ +.PHONY: all site-lisp +all: init2.elc init.elc site-lisp/ + +%.elc: %.el + emacs -Q -batch -eval "(byte-compile-file \"$<\")" + +init.el: init2.el +init2.el: init.org + emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")" + +%/: % + $(MAKE) -C "$(CURDIR)/$*" + +rudel: + git clone git://github.com/scymtym/rudel.git packages/rudel + emacs -Q --batch --visit packages/rudel/rudel-compile.el \ + --eval "(eval-buffel)" + +clean: + rm -rf _publish/*.* + +export: clean + emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \ + -L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \ + -f org-publish-all + +publish: export + rsync -avuz --exclude=*~ --delete _publish/ \ + ryuslash.org:public_html/orgweb/dotfiles/emacs |