- commit
- 63b317a6f02ca42712995a97c840bd128c42f2b9
- parent
- c727117a7112fa4b09045ae8501dcb73f0929f07
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-04-24 12:02
fixup f72178b: build images first
Diffstat
M | Makefile | 5 | ++++- |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
@@ -7,7 +7,7 @@ IMG := $(shell find _content -regex '.*\.\(png\|gif\|jpg\)$$' | sed 's/^_content 7 7 PANDOC_ARGS = -f markdown-smart --wrap=none --lua-filter filters/*.lua 8 8 9 9 .PHONY: all10 -1 all: build/index.html $(PAGES) $(PAGES_MD) build/feed.xml build/feed-archive.xml build/feed.json build/feed-archive.json $(STATIC) build/static/style.css $(IMG)-1 10 all: $(IMG) build/index.html $(PAGES) $(PAGES_MD) build/feed.xml build/feed-archive.xml build/feed.json build/feed-archive.json $(STATIC) build/static/style.css 11 11 12 12 .PHONY: push 13 13 push: all @@ -30,12 +30,15 @@ _content/%.html: _content/%.md filters/*.lua 30 30 @sed -i 's/<tr class="header">/<tr>/g' $@ 31 31 32 32 build/%.png: _content/%.png -1 33 @mkdir -p $$(dirname $@) 33 34 ln -f $< $@ 34 35 35 36 build/%.jpg: _content/%.jpg -1 37 @mkdir -p $$(dirname $@) 36 38 ln -f $< $@ 37 39 38 40 build/%.gif: _content/%.gif -1 41 @mkdir -p $$(dirname $@) 39 42 ln -f $< $@ 40 43 41 44 build/feed.xml: feed-atom.sh $(PAGES_FEED)