summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-02-05 17:51:16 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-02-05 17:51:16 +0400
commit69da86fbb12dbc6b88afc95e70ed7c421dd0588c (patch)
tree920dccfa4affdbc2c6e787c7f27f0e0706bad63f
parenta60d5f8b680fa990f76b078bd1f59b03f869cd33 (diff)
TODO: build-page: move html output to a seperate directory
-rw-r--r--GNUmakefile5
-rw-r--r--TODO2
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