summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bfdaa73..7c35ec7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,14 @@
all:
clean:
- rm -rf _publish
+ rm -f _publish/*.*
+ rm -rf _publish/projects
export: clean
- emacs -L ~/.emacs.d/vendor-lisp/org/lisp \
+ 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
+ $(MAKE) -C articles export
publish: export
rsync -avuz --exclude=*~ _publish/ ryuslash.org:public_html/orgweb