orgweb/Makefile

15 lines
333 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=*~ _publish/ ryuslash.org:public_html/orgweb