orgweb/Makefile

16 lines
366 B
Makefile
Raw Normal View History

2013-10-02 00:02:08 +02:00
all:
clean:
rm -f _publish/*.*
rm -rf _publish/projects
2013-10-02 00:02:08 +02:00
export: clean
emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \
2013-10-02 00:02:08 +02:00
-L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \
-f org-publish-all
$(MAKE) -C articles export
2013-10-02 00:02:08 +02:00
publish: export
rsync -avuz --exclude=*~ --exclude=dotfiles/ --delete _publish/ \
ryuslash.org:public_html/orgweb