diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-18 09:18:03 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-18 09:18:03 +0100 |
| commit | 76901304c49fd297bb2ef565503ea7f399aae076 (patch) | |
| tree | 19602200574e362e70453f20d6bfea29e308d51f /http | |
| parent | 83c25e328fb146e681dcd47d76c8c0740f1c4b35 (diff) | |
Makefile clean doesn't clean non-post files under blog,microlog
Diffstat (limited to 'http')
| -rw-r--r-- | http/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/http/Makefile b/http/Makefile index 42d0c90..10d2a86 100644 --- a/http/Makefile +++ b/http/Makefile @@ -105,4 +105,8 @@ $(foreach blog,$(blogs),$(eval $(prune_blog_rule))) .PHONY: clean clean: - rm -rf out $(addprefix src/,$(blogs)) + rm -rf \ + out \ + $(foreach blog,$(blogs), \ + $(foreach ext,upphtml upphtml.args,\ + src/$(blog)/*$(if $(BLOG_LAYOUT_$(blog)),.$(BLOG_LAYOUT_$(blog))).$(ext))) |
