summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-11-25 01:29:47 +0100
committerGravatar Tom Willemse2013-11-25 01:29:47 +0100
commit879aef7f899a164f40604bfcecd7820e959b11df (patch)
tree76cec70c0ccbbdbec1d09924361a8225f39234c4 /Makefile
parentc7712fff5336d04c948bcdb3a1fbc4d8903cf9f4 (diff)
downloadorgweb-879aef7f899a164f40604bfcecd7820e959b11df.tar.gz
orgweb-879aef7f899a164f40604bfcecd7820e959b11df.zip
Separate export of articles
To keep Creation dates somewhat more close to their actual creation date.
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