diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-24 18:36:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-24 18:36:15 +0100 |
commit | 1892bc38d8416a6ec79f37c41a9ffb38b6f44938 (patch) | |
tree | ffd211a1718ff2b793179c6fb115faf190e3cdfb /makefile | |
parent | be6c61295058e32604e4d18da3689d2675e5bf19 (diff) |
minimalize layout
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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) |