diff options
author | EuAndreh <eu@euandre.org> | 2025-05-04 09:04:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-04 09:06:20 -0300 |
commit | 6f846a22f21407cbb469040a2be56e15eb2449c3 (patch) | |
tree | 5917178c84ed2e498da54d5d01ab83afe647c67c | |
parent | mkdeps.sh: Include all translated files in po4a.in (diff) | |
download | euandre.org-6f846a22f21407cbb469040a2be56e15eb2449c3.tar.gz euandre.org-6f846a22f21407cbb469040a2be56e15eb2449c3.tar.xz |
Makefile: Turn "i18n.sentinel" into a standalone "i18n" virtual target
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | deps.mk | 9 | ||||
-rwxr-xr-x | mkdeps.sh | 5 |
4 files changed, 5 insertions, 20 deletions
@@ -1,4 +1,3 @@ -*.sentinel *.htmlbody *.embedded-config *.conf @@ -209,7 +209,6 @@ derived-assets = \ install.txt \ sources.txt \ src/content/.gitignore \ - i18n.sentinel \ captured-assets = \ src/content/$(PUBURL) \ @@ -358,10 +357,6 @@ install.txt: src/install.txt sources.txt install.txt: sed 's|^src/content/||' src/$(@F) > $@ -i18n.sentinel: po/po4a.cfg po/note.txt $(sources.po) $(po4a.in) - po4a po/po4a.cfg - touch $@ - src/sort-expected.txt: @@ -447,6 +442,11 @@ check: check-unit check-integration +i18n: + po4a po/po4a.cfg + + + ## Remove *all* derived artifacts produced during the build. ## A dedicated test asserts that this is always true. clean: @@ -143,15 +143,6 @@ sources.po = \ po/fr.po \ po/pt.po \ -po4a.in = \ - src/content/en/about.adoc \ - src/content/en/til/2020/08/12/filename-timestamp.adoc \ - src/content/en/til/categories.adoc \ - src/content/en/til/index.adoc \ - src/headers/ref.txt \ - src/names/categories/ref.txt \ - src/names/category/ref.txt \ - src/content/en/about.html.gz: src/content/en/about.html src/content/en/index.html.gz: src/content/en/index.html src/content/pt/sobre.html.gz: src/content/pt/sobre.html @@ -72,11 +72,6 @@ extras | varlist 'sources.extras' find po/*.po po/*.pot | varlist 'sources.po' -cat po/po4a.cfg | - awk '$1 == "[type:" && $4 != "" && $0=$3' | - varlist 'po4a.in' - - { files | sed 's/^\(.*\)\.adoc$/\1.html/' files | sed 's/^\(.*\)\.adoc$/\1.snippets/' |