From: Amélia Coutard-Sander Date: Sun, 22 Jun 2025 02:38:47 +0000 (+0200) Subject: Fichiers bruts dans le dossier html X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=9dcd4e40744dc35fe175b4bbb6fccdc3868fd781;p=site-web.git Fichiers bruts dans le dossier html --- diff --git a/Makefile b/Makefile index 80d35aa..207e90f 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ .PHONY: build clean -HTML=$(patsubst html/%.esh,out/%,$(shell find html -name '*.esh')) +ESH=$(patsubst html/%.esh,out/%,$(shell find html -name '*.esh')) +STATIC=$(patsubst html/%,out/%,$(shell find html -type f -and -not -name '*.esh')) DOCS=$(patsubst %,out/docs/%,$(shell recsel -P file docs/meta.rec)) -build: $(HTML) $(DOCS) +build: $(ESH) $(STATIC) $(DOCS) clean: rm -rf out @@ -17,6 +18,9 @@ out/docs/%.otf: docs/%.sfd mkdir -p "$(@D)" fontforge -lang ff -c 'Open($$1); Generate($$2)' "$<" "$@" +out/%: html/% + mkdir -p "$(@D)" + cp "$<" "$@" out/%: html/%.esh mkdir -p "$(@D)" sh esh.sh < "$<" > "$@" diff --git a/html/style.css.esh b/html/style.css similarity index 100% rename from html/style.css.esh rename to html/style.css