summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-04 09:08:18 -0300
committerEuAndreh <eu@euandre.org>2025-05-04 09:08:18 -0300
commite16ca2912b9237324b00802d27e2e505716d942a (patch)
treeb817226187725719644b0b67bbd20f8a1bdd296e
parentsrc/content/en/index.adoc: Fix path to SVGs (diff)
downloadpapo.im-e16ca2912b9237324b00802d27e2e505716d942a.tar.gz
papo.im-e16ca2912b9237324b00802d27e2e505716d942a.tar.xz
Makefile: Turn "i18n.sentinel" into a standalone "i18n" virtual target
-rw-r--r--.gitignore1
-rw-r--r--Makefile10
-rw-r--r--deps.mk6
-rwxr-xr-xmkdeps.sh5
4 files changed, 5 insertions, 17 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 8679ad3..b4a0985 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 4987815..dcb63ef 100644
--- a/deps.mk
+++ b/deps.mk
@@ -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
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/'