diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-24 21:14:31 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-24 21:14:53 +0900 |
commit | a58d7a372d5dd306455495ca46a1d126633dd581 (patch) | |
tree | db048f3845a237221be73fe1105c4bf89760737b | |
parent | ef3bde22daa1f6f25300f6c5eba0684fb8e8111b (diff) |
Add Makefile.develop
-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 |