commit a1044a7de4ea5c5ecf57ebd37f1e86efe64e2012
parent a53352310a11c278e0ffebb729e4bad47e014f86
Author: aabacchus <ben@bvnf.space>
Date: Mon, 16 May 2022 03:15:04 +0100
Makefile: correct comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -6,7 +6,7 @@ LDFLAGS = -static -s
all: html
html: build-page smu/smu
- # first remove old html files and remove any empty dirs
+# first remove old html files and remove any empty dirs
find wiki -type f -name \*.html -exec rm {} \;
-find wiki -type d -exec rmdir {} \; 2>/dev/null
find wiki -type d -exec sh -ec 'PATH="$$PWD/smu:$$PATH" ./build-page "$$0" >$$0/index.html' {} \;