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 /GNUmakefile | |
parent | a60d5f8b680fa990f76b078bd1f59b03f869cd33 (diff) |
TODO: build-page: move html output to a seperate directory
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 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 |