Tom Willemse
83fe8c4485
This way the export target doesn't have to be called twice to update the list of posts.
15 lines
366 B
Makefile
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
|