aboutsummaryrefslogtreecommitdiff
path: root/v2/dynamic.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--v2/dynamic.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/v2/dynamic.mk b/v2/dynamic.mk
index 9ebd5ef..ba07dfe 100644
--- a/v2/dynamic.mk
+++ b/v2/dynamic.mk
@@ -7,9 +7,12 @@ include generated.mk
.SUFFIXES:
-.SUFFIXES: .md .content .conf .html .categoryentry .indexentry .xmlentry
+.SUFFIXES: .page .md .content .conf .html .categoryentry .indexentry .xmlentry
+.page.md:
+ ln -f $< $@
+
.md.content:
awk 'sep >= 2; /^---$$/ {sep++}' < $< > $@
@@ -50,7 +53,8 @@ $(all-generated.xml):
clean:
rm -rf \
- public/ $(all-generated) *.sentinel generated.mk po/po4a.cfg \
+ $(all-generated) $(pages-mds) public/ *.sentinel generated.mk \
+ po/po4a.cfg src/content/.gitignore \
src/content/*/*.category src/content/*/*/*.category \
src/content/*/*.categorysort src/content/*/*/*.categorysort \
src/content/*/*.html src/content/*/*/*.html \
@@ -122,6 +126,8 @@ test-files = \
aux/checks/shellcheck.sh \
aux/checks/todos.sh \
+aux/checks/shellcheck.sh: src/lib/generated.conf
+
$(test-files): ALWAYS
sh $@