legacy-dotfiles/emacs/.emacs.d/Makefile

32 lines
762 B
Makefile
Raw Normal View History

2014-08-21 00:23:56 +02:00
.PHONY: all site-lisp
all: init2.elc init.elc site-lisp/
%.elc: %.el
2015-04-08 15:15:36 +02:00
@echo "ELC $<"
@emacs -Q -batch -eval "(byte-compile-file \"$<\")"
2014-08-21 00:23:56 +02:00
init.el: init2.el
init2.el: init.org
2015-04-08 15:15:36 +02:00
@echo "OBT $<"
@emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")"
2014-08-21 00:23:56 +02:00
%/: %
$(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