aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-24 18:36:15 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-24 18:36:15 +0100
commit1892bc38d8416a6ec79f37c41a9ffb38b6f44938 (patch)
treeffd211a1718ff2b793179c6fb115faf190e3cdfb /makefile
parentbe6c61295058e32604e4d18da3689d2675e5bf19 (diff)
minimalize layout
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/makefile b/makefile
index 95b7666..77c6e51 100644
--- a/makefile
+++ b/makefile
@@ -14,8 +14,11 @@ GEMS = Gemfile.lock
POSTS := $(wildcard _items/*)
POST_META := $(patsubst _items/%.md,_data/post/%.yml,$(POSTS))
+REPO_META := _data/meta.yml
-build: $(GEMS) $(POST_META) FORCE
+META := $(POST_META) $(REPO_META)
+
+build: $(GEMS) $(META) FORCE
bundle exec jekyll build $(JEKYLL_BUILD_ARGS)
$(GEMS): Gemfile
@@ -25,6 +28,10 @@ _data/post/%.yml: _items/%.md
@mkdir -p _data/post
_scripts/postinfo $< > $@
+$(REPO_META):
+ @mkdir -p _data/post
+ _scripts/repoinfo > $@
+
clean: FORCE
$(RM) -r $(WEBROOT)