From 6c2cbb02ac4b16ee7b4c37de50403ce604868ec0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 8 Apr 2023 16:20:00 -0300 Subject: v2: i18n of the collection name, "article" collection in root --- v2/dynamic.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'v2/dynamic.mk') 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 $@ -- cgit v1.2.3