From 69da86fbb12dbc6b88afc95e70ed7c421dd0588c Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Wed, 5 Feb 2025 17:51:16 +0400 Subject: TODO: build-page: move html output to a seperate directory --- GNUmakefile | 5 +++-- TODO | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 6407870..927b642 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -4,9 +4,10 @@ HTML = $(SRC:.md=.html) all: $(HTML) %.html: %.md build-page - sh build-page $< > $@ + mkdir -p out/$$(dirname $@) + sh build-page $< > out/$@ clean: - rm -f $(HTML) + rm -rf out .PHONY: all clean diff --git a/TODO b/TODO index 5d85f2a..6ae87cc 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -- build-page: move html output to a seperate directory ++ build-page: move html output to a seperate directory - store fonts on the website itself rather than using google fonts - proper handling of posts - add a post about coding styles -- cgit v1.2.3