From a30c8ce3d8134aee85ac93f62c90b4aae38fc56d Mon Sep 17 00:00:00 2001 From: sroccaserra Date: Mon, 16 Sep 2024 21:05:21 +0200 Subject: [PATCH] f Ajoute une page de liens --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4a1ba42..94d8605 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ BUILD_GMI := build_gmi CONVERT_TO_HTML := gemtext_to_html/build/gemtext_to_html -c center BASE_URL := https://sroccaserra.shrt.site -GMI_IN_FILES=$(wildcard pages/*.gmi) index.gmi +GMI_IN_FILES=$(wildcard pages/*.gmi) links.gmi index.gmi GMI_OUT_FILES=$(patsubst %.gmi,$(BUILD_GMI)/%.gmi,$(GMI_IN_FILES)) HTML_OUT_FILES=$(patsubst %.gmi,$(BUILD_HTML)/%.html,$(GMI_IN_FILES)) @@ -24,7 +24,7 @@ all_html: $(HTML_OUT_FILES) sync_public $(BUILD_HTML)/rss.xml .PHONY: all_gmi all_gmi: $(GMI_OUT_FILES) sync_public $(BUILD_GMI)/rss.xml -$(BUILD_HTML)/pages/%.html: pages/%.gmi | $(BUILD_HTML)/pages +$(BUILD_HTML)/%.html: %.gmi | $(BUILD_HTML)/pages BUILD="$(BUILD_HTML)" CONVERT="$(CONVERT_TO_HTML)" \ bash scripts/build_page.sh "$<" \ > "$@" -- 2.45.2