diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-02-05 17:51:16 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-02-05 17:51:16 +0400 |
commit | 69da86fbb12dbc6b88afc95e70ed7c421dd0588c (patch) | |
tree | 920dccfa4affdbc2c6e787c7f27f0e0706bad63f | |
parent | a60d5f8b680fa990f76b078bd1f59b03f869cd33 (diff) |
TODO: build-page: move html output to a seperate directory
-rw-r--r-- | GNUmakefile | 5 | ||||
-rw-r--r-- | 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 @@ -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 |