From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH proxmox-i18n v2 08/11] make: move linguas to a file
Date: Fri, 24 Jul 2026 13:12:52 +0200 [thread overview]
Message-ID: <20260724111257.325867-9-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20260724111257.325867-1-m.sandoval@proxmox.com>
Similarly how this is handled by meson's i18n module [1]. This allows
automatically adding linguas as part of the init-%.po target or validating we
are not missing any.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
LINGUAS | 32 ++++++++++++++++++++++++++++++++
Makefile | 34 +---------------------------------
2 files changed, 33 insertions(+), 33 deletions(-)
create mode 100644 LINGUAS
diff --git a/LINGUAS b/LINGUAS
new file mode 100644
index 00000000..b157d968
--- /dev/null
+++ b/LINGUAS
@@ -0,0 +1,32 @@
+ar
+bg
+ca
+cs
+da
+de
+el_GR
+es
+eu
+fa
+fr
+ga
+gl
+he
+hr
+hu
+it
+ja
+ka
+ko
+nb
+nl
+nn
+pl
+pt_BR
+ru
+sl
+sv
+tr
+ukr
+zh_CN
+zh_TW
diff --git a/Makefile b/Makefile
index 4e1259f1..ceac4eab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,38 +1,6 @@
include /usr/share/dpkg/pkg-info.mk
-LINGUAS ?= \
- ar \
- bg \
- ca \
- cs \
- da \
- de \
- el_GR \
- es \
- eu \
- fa \
- fr \
- ga \
- gl \
- he \
- hr \
- hu \
- it \
- ja \
- ka \
- ko \
- nb \
- nl \
- nn \
- pl \
- pt_BR \
- ru \
- sl \
- sv \
- tr \
- ukr \
- zh_CN \
- zh_TW \
+LINGUAS ?= $(shell xargs --arg-file LINGUAS)
BUILDDIR ?= $(DEB_SOURCE)-$(DEB_VERSION)
--
2.47.3
next prev parent reply other threads:[~2026-07-24 11:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 11:12 [PATCH proxmox-i18n v2 00/11] Makefile simplifications and improvements Maximiliano Sandoval
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 01/11] make: catalog-%.mo: explicitly set template file Maximiliano Sandoval
2026-07-24 13:06 ` Shannon Sterz
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 02/11] make: simplify msgmerge commands Maximiliano Sandoval
2026-07-24 13:06 ` Shannon Sterz
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 03/11] make: clean: remove *.mo files Maximiliano Sandoval
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 04/11] make: use long options for msgmerge and msginit Maximiliano Sandoval
2026-07-24 13:06 ` Shannon Sterz
2026-07-24 13:12 ` Shannon Sterz
2026-07-24 13:25 ` Maximiliano Sandoval
2026-07-24 13:31 ` Shannon Sterz
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 05/11] make: do_update: add --update for msgmerge Maximiliano Sandoval
2026-07-24 13:06 ` Shannon Sterz
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 06/11] make: do_update: add --previous flag to msgmerge Maximiliano Sandoval
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 07/11] gitignore: remove proxmox-datacenter-manager.pot Maximiliano Sandoval
2026-07-24 11:12 ` Maximiliano Sandoval [this message]
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 09/11] make: add linguas checks Maximiliano Sandoval
2026-07-24 13:06 ` Shannon Sterz
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 10/11] make: init-%.po: add language to linguas Maximiliano Sandoval
2026-07-24 11:12 ` [PATCH proxmox-i18n v2 11/11] make: add targets to update specific PO files Maximiliano Sandoval
2026-07-24 13:08 ` [PATCH proxmox-i18n v2 00/11] Makefile simplifications and improvements Shannon Sterz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260724111257.325867-9-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox