diff options
author | EuAndreh <eu@euandre.org> | 2025-05-04 09:08:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-04 09:08:18 -0300 |
commit | e16ca2912b9237324b00802d27e2e505716d942a (patch) | |
tree | b817226187725719644b0b67bbd20f8a1bdd296e | |
parent | src/content/en/index.adoc: Fix path to SVGs (diff) | |
download | papo.im-e16ca2912b9237324b00802d27e2e505716d942a.tar.gz papo.im-e16ca2912b9237324b00802d27e2e505716d942a.tar.xz |
Makefile: Turn "i18n.sentinel" into a standalone "i18n" virtual target
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | deps.mk | 6 | ||||
-rwxr-xr-x | mkdeps.sh | 5 |
4 files changed, 5 insertions, 17 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: @@ -52,12 +52,6 @@ sources.po = \ po/papo.im.pot \ po/pt.po \ -po4a.in = \ - src/content/en/about.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/en/pricing.html.gz: src/content/en/pricing.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/' |