aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-06-19 18:50:11 +0200
committerJonas Smedegaard <dr@jones.dk>2020-06-19 18:50:11 +0200
commit83b92e26072029241e181f11a66301a2f7f8650f (patch)
tree9db3d388f433540398837542d58ac381d19ab6ec /Makefile
parent69a405127b2039a467e108e9d5055e1223fd3e37 (diff)
fix process mustache for front README
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9e85e63..3bd88cf 100644
--- a/Makefile
+++ b/Makefile
@@ -24,11 +24,11 @@ doc: docs $(patsubst %,docs/%,$(subst -,/,$(notdir $(wildcard source/*))))
check:
checklink site/index.html
+# TODO: drop symlink removal when 2020-06-19 is well in the past
docs:
mkdir -p docs
- ln -sf ../README.md docs/index.md
-# ln -sf ../USE.md docs/use.md
-# ln -sf ../ADMIN.md docs/admin.md
+ find docs -type l -delete
+ $(MUSTACHE) < README.md > docs/index.md
docs/%: source
mkdir -p docs/$*