diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-03 17:32:36 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-03 17:32:36 +0800 |
commit | ecfc1fb5cbe7907ee94f862aecd3d736f5c19e97 (patch) | |
tree | f81bee377d2e65867d10ec338c99e01e122f4ddb /www/Makefile | |
parent | 20101c5feadd5e045e4a5fe623d96bede8dbc25a (diff) |
Update
Diffstat (limited to 'www/Makefile')
-rw-r--r-- | www/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/www/Makefile b/www/Makefile index 80b9d47..699abb2 100644 --- a/www/Makefile +++ b/www/Makefile | |||
@@ -3,11 +3,10 @@ ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) | |||
3 | 3 | ||
4 | # build html files for public/ | 4 | # build html files for public/ |
5 | build: | 5 | build: |
6 | @input_dir=~/log/posts \ | 6 | cd $(ROOT_DIR) |
7 | @input_dir=~/log/public \ | ||
7 | output_dir=/srv/http \ | 8 | output_dir=/srv/http \ |
8 | assets_dir=$(ROOT_DIR)assets \ | 9 | scripts/build.sh |
9 | template_dir=$(ROOT_DIR)templates \ | ||
10 | $(ROOT_DIR)scripts/build.sh | ||
11 | 10 | ||
12 | # Migrage frontmatter from '---' to HTML comment '<!-- -->' | 11 | # Migrage frontmatter from '---' to HTML comment '<!-- -->' |
13 | frontmatter: | 12 | frontmatter: |