aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-08-07 18:20:38 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-08-07 18:20:38 +0200
commit66d48a7a4c98383e5baef20d352a3d2e4e681a6a (patch)
tree752afac2d229577c71c1859b6c597a89e59dbd2e /Makefile
parent1b5bfd89244367acf86fcf311dbddacd22bd7b14 (diff)
downloadrgoncalves.se-66d48a7a4c98383e5baef20d352a3d2e4e681a6a.tar.gz
bin: Generation scaffold
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..def4abd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+.POSIX:
+
+BIN := ./bin
+SRC := ./src
+OUT := ./out
+TMP := ./tmp
+BASE_URL = https://rgoncalves.se
+
+.PHONY: all \
+ website \
+ clean
+
+all: clean website
+
+website: clean
+ BASE_URL=$(BASE_URL) $(BIN)/ssg
+
+local: clean
+ BASE_URL=$$PWD/$(OUT) $(BIN)/ssg
+
+clean:
+ - rm -r $(OUT) $(TMP)/*
remember that computers suck.