diff options
author | EuAndreh <eu@euandre.org> | 2023-04-08 16:20:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-08 21:18:22 -0300 |
commit | 6c2cbb02ac4b16ee7b4c37de50403ce604868ec0 (patch) | |
tree | ffb2fb30a741a04f89474f64a2e01df3d891cd12 /v2/dynamic.mk | |
parent | v2: src/lib/: Unmark things as executable (diff) | |
download | euandre.org-6c2cbb02ac4b16ee7b4c37de50403ce604868ec0.tar.gz euandre.org-6c2cbb02ac4b16ee7b4c37de50403ce604868ec0.tar.xz |
v2: i18n of the collection name, "article" collection in root
Diffstat (limited to '')
-rw-r--r-- | v2/dynamic.mk | 10 |
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 $@ |