orgweb/Makefile
Tom Willemse 83fe8c4485 Make the articles before the main pages
This way the export target doesn't have to be called twice to update the
list of posts.
2014-06-03 22:12:15 +02:00

15 lines
366 B
Makefile

all:
clean:
rm -f _publish/*.*
rm -rf _publish/projects
export: clean
$(MAKE) -C articles export
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=*~ --exclude=dotfiles/ --delete _publish/ \
ryuslash.org:public_html/orgweb