aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/$*