diff options
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: |