From 6f846a22f21407cbb469040a2be56e15eb2449c3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 4 May 2025 09:04:34 -0300 Subject: Makefile: Turn "i18n.sentinel" into a standalone "i18n" virtual target --- .gitignore | 1 - Makefile | 10 +++++----- deps.mk | 9 --------- mkdeps.sh | 5 ----- 4 files changed, 5 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index cfa522f..9385a55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -*.sentinel *.htmlbody *.embedded-config *.conf diff --git a/Makefile b/Makefile index c4bb723..ab55e9f 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/deps.mk b/deps.mk index 0a19d23..a48e08e 100644 --- a/deps.mk +++ b/deps.mk @@ -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 diff --git a/mkdeps.sh b/mkdeps.sh index 1336383..b13b374 100755 --- a/mkdeps.sh +++ b/mkdeps.sh @@ -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/' -- cgit v1.2.3