diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d488246 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +ARTICLES_SOURCE := ~/diary/diary.org +DB_NAME := diary +DB_USER := $(USER) + +.PHONY: register-articles + +register-articles: + emacs --script scripts/export-to-html.el $(ARTICLES_SOURCE) ./tmp/diary.json 2>> ./logs/export-to-html.log + racket scripts/register-articles.rkt --database $(DB_NAME) --user $(DB_USER) tmp/diary.json |