diff options
author | EuAndreh <eu@euandre.org> | 2023-04-09 18:59:09 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-09 19:05:39 -0300 |
commit | 19a8b995c59cce5315e1d121054f9c27aad5c960 (patch) | |
tree | f2c2d83751245004beed21b31d973c1d412cd026 /v2/dynamic.mk | |
parent | v2: CSS dark mode, including SVGs (diff) | |
download | euandre.org-19a8b995c59cce5315e1d121054f9c27aad5c960.tar.gz euandre.org-19a8b995c59cce5315e1d121054f9c27aad5c960.tar.xz |
v2: Support translated alternates in <nav>
Diffstat (limited to 'v2/dynamic.mk')
-rw-r--r-- | v2/dynamic.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/v2/dynamic.mk b/v2/dynamic.mk index e4f349d..ac06c20 100644 --- a/v2/dynamic.mk +++ b/v2/dynamic.mk @@ -11,7 +11,9 @@ include generated.mk .page.md: + ln -f $<.i18n $@.i18n ln -f $< $@ + touch $@ $@.i18n .md.content: awk 'sep >= 2; /^---$$/ {sep++}' < $< > $@ @@ -44,6 +46,7 @@ all: public $(all-generated.conf) $(all-generated.content): $(non-content) +$(all-generated.conf) $(pages-mds): i18n-index.sentinel $(all-generated.conf): src/lib/base.conf src/lib/generated.conf src/lib/generated.conf: src/bin/conf $(svgs) @@ -58,6 +61,10 @@ $(all-generated.index): src/lib/generated.conf $(all-generated.xml): feed $@ +i18n-index.sentinel: po/i18n.mappings + i18n < po/i18n.mappings + touch $@ + clean: rm -rf \ $(all-generated) $(pages-mds) $(svgs) public/ *.sentinel \ @@ -68,6 +75,7 @@ clean: src/content/*/*.extrahtml src/content/*/*/*.extrahtml \ src/content/*/*.extrafeeds src/content/*/*/*.extrafeeds \ src/content/*/*.html.*.txt src/content/*/*/*.html.*.txt \ + src/content/*/*.i18n src/content/*/*/*.i18n \ src/content/*/*.sortdata src/content/*/*/*.sortdata \ src/content/*/feed.*.xml src/content/*/*/feed.*.xml \ src/lib/generated.conf src/lib/generated.*.conf po/*.mo \ |