aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-15 04:27:45 -0300
committerEuAndreh <eu@euandre.org>2025-05-15 04:27:45 -0300
commitd7dc5cc4b3da7104d6b47f3b8c5c836f6777ce63 (patch)
tree60f4da9d329b2cfe8e7a4c06ce3d3c54c76fe7df
parentsrc/gotext.go: Stop panicking on unknown AST type (diff)
downloadgotext-d7dc5cc4b3da7104d6b47f3b8c5c836f6777ce63.tar.gz
gotext-d7dc5cc4b3da7104d6b47f3b8c5c836f6777ce63.tar.xz
Do not install po/tests/*.mo files
-rw-r--r--Makefile2
-rw-r--r--deps.mk7
-rwxr-xr-xmkdeps.sh2
3 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 087bbb6..6eb6a22 100644
--- a/Makefile
+++ b/Makefile
@@ -144,7 +144,7 @@ $(manpages.XX.N.adoc): po/doc/po4a.cfg
po4a --no-update --translate-only $@ po/doc/po4a.cfg
locale/.gitignore: po/tests/de.mo po/tests/es.mo
- instool $(@D) install mo $(sources.mo)
+ instool $(@D) install mo po/tests/de.mo po/tests/es.mo
echo '*' > $@
diff --git a/deps.mk b/deps.mk
index 009feaf..71ea8be 100644
--- a/deps.mk
+++ b/deps.mk
@@ -27,8 +27,11 @@ manpages.XX.N.adoc = \
doc/gotext.pt.0.adoc \
sources.po = \
- po/tests/de.po \
- po/tests/es.po \
+ po/gotext/de.po \
+ po/gotext/eo.po \
+ po/gotext/es.po \
+ po/gotext/fr.po \
+ po/gotext/pt.po \
functional/lib.go = \
tests/functional/api-usage/gotext.go \
diff --git a/mkdeps.sh b/mkdeps.sh
index 7f7c418..ae6fffc 100755
--- a/mkdeps.sh
+++ b/mkdeps.sh
@@ -26,7 +26,7 @@ xdocs() {
}
pos() {
- find po/ -name '*.po' | grep -v '^po/doc/'
+ find po/ -name '*.po' | grep -Ev '^po/(doc|tests)/'
}