Utilize make to render pages

This commit is contained in:
2023-05-20 17:38:37 +03:00
parent 001b4ed508
commit 7e760d8eba
10 changed files with 518 additions and 2 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
DISTDIR := $(shell pwd)
TEMPLATE_DIR := $(DISTDIR)/templates
SCRIPT_DIR := $(DISTDIR)/scripts
BUILDDIR := $(DISTDIR)/build
export
PAGES := $(wildcard pages/*)
all: $(PAGES)
$(PAGES):
$(MAKE) -C $@
.PHONY: all $(PAGES)