blog

git clone https://git.ce9e.org/blog.git

commit
53bc22fe15218039d259c842b4014560dd0f1fab
parent
4bdb38c08d33b27136bc217ef95dfd36d27fbb76
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2026-07-13 12:28
makefile: include python scripts

Diffstat

M Makefile 6 +++++-

1 files changed, 5 insertions, 1 deletions


diff --git a/Makefile b/Makefile

@@ -3,7 +3,7 @@ PAGES := $(shell find _content -name 'index.md' | sed 's/^_content/build/;s/md$$
    3     3 PAGES_MD := $(shell find _content -name 'index.md' | sed 's/^_content/build/')
    4     4 PAGES_FEED := $(shell find _content -name 'index.md' | sed 's/md$$/html/')
    5     5 STATIC := $(shell find static -type f | sed 's/^/build\//')
    6    -1 IMG := $(shell find _content -regex '.*\.\(png\|gif\|jpg\)$$' | sed 's/^_content/build/')
   -1     6 IMG := $(shell find _content -regex '.*\.\(png\|gif\|jpg\|py\)$$' | sed 's/^_content/build/')
    7     7 PANDOC_ARGS = -f markdown-smart --mathml --wrap=none --lua-filter filters/img-size.lua --lua-filter filters/abs-urls.lua
    8     8 
    9     9 .PHONY: all
@@ -46,6 +46,10 @@ build/%.gif: _content/%.gif
   46    46 	@mkdir -p $$(dirname $@)
   47    47 	ln -f $< $@
   48    48 
   -1    49 build/%.py: _content/%.py
   -1    50 	@mkdir -p $$(dirname $@)
   -1    51 	ln -f $< $@
   -1    52 
   49    53 build/feed.xml: feed-atom.sh $(PAGES_FEED)
   50    54 	./feed-atom.sh > $@
   51    55