projects
/
blog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modify org-publish-project
[blog.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ce75237
..
f1f4d12
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1,18
@@
## Makefile to export org in blog file to html
emacs ?= emacs
## Makefile to export org in blog file to html
emacs ?= emacs
-
OUTDIR := ""
OUTDIR := ""
+FORCE := "no"
all:
all:
- $(emacs) -Q --script blog.el $(OUTDIR)
+ $(emacs) -Q --script blog.el $(OUTDIR) $(FORCE)
+
+# used for automation on server
+update:
+ git pull && $(emacs) -Q --script blog.el "~/www/html" "true"
+
+test:
+ $(emaca) -Q --script blog.el "test" "true"
clean:
rm -rf _site/*
clean:
rm -rf _site/*