From 66d48a7a4c98383e5baef20d352a3d2e4e681a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 7 Aug 2021 18:20:38 +0200 Subject: bin: Generation scaffold --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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)/* -- cgit v1.2.3