From 2c01a598d769e18a05cae9c58e48a58aa11a3cb9 Mon Sep 17 00:00:00 2001 From: esquizo Date: Fri, 19 Jun 2026 13:29:35 -0300 Subject: melhorada a geração dos htmls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fe22e38..791a88b 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,10 @@ tutoriais/index.html: tutoriais/posts.csv templates/base.m4 static/style.css: src/css/style.css src/css/style.css src/css/base.css src/css/navbar.css src/css/scanlines.css esbuild src/css/style.css --external:'/static/*' --bundle --minify --outfile=static/style.css -%.html: %.md templates/base.m4 - m4 -DPAGECONTENT="$$(./genpage.sh < $<)" templates/base.m4 > $@ +%.html: %.html.m4 templates/base.m4 + m4 $< > $@ + +%.html.m4: %.md + ./genpage.sh < $< > $@ .PHONY: all clean dist -- cgit v1.2.3