summaryrefslogtreecommitdiff
path: root/repo/www/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-03-14 00:41:06 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-03-14 00:41:06 +0100
commit81573058cac79f366755ddce5bd7dcfb55828644 (patch)
treef60f5399a463e186cd1bb58706d5605982922aab /repo/www/Makefile
parent7866bb3c174b464740132146f0aa7d46d28ae0a3 (diff)
downloadmemory-leaks-81573058cac79f366755ddce5bd7dcfb55828644.tar.xz
Add rudimentary webizer scripts
Diffstat (limited to 'repo/www/Makefile')
-rw-r--r--repo/www/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/www/Makefile b/repo/www/Makefile
new file mode 100644
index 0000000..7ae0e5e
--- /dev/null
+++ b/repo/www/Makefile
@@ -0,0 +1,20 @@
+TOP_DIR = ../..
+OUT_DIR = $(TOP_DIR)/public
+
+all: site
+
+include deps.mk
+
+deps.mk: make-deps.py
+ python3 $< $(TOP_DIR) $(OUT_DIR)
+
+site: $(pages)
+
+$(folders):
+ mkdir -p $@
+
+%.html:
+ pandoc -s $< -o $@
+
+clean:
+ -rm -r $(OUT_DIR)