From 707e502d2fb71f98f990edc12bd5fbd3d32dae52 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Oct 2018 11:43:19 +0100 Subject: [PATCH] i18n: Provide `i18n-update' target in toplevel Makefile With a convenience alias `i18n'. Signed-off-by: Ian Jackson --- Makefile | 4 ++++ po/Makefile | 2 ++ po4a/Makefile | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3215fec3..a0854a16 100644 --- a/Makefile +++ b/Makefile @@ -127,6 +127,10 @@ installdirs-infra: list-manpages: @echo $(MANPAGES) +i18n i18n-update: + $(MAKE) -C po update + $(MAKE) -C po4a update + check installcheck: clean distclean mostlyclean maintainer-clean: diff --git a/po/Makefile b/po/Makefile index 0053f522..cc4a062d 100644 --- a/po/Makefile +++ b/po/Makefile @@ -115,6 +115,8 @@ clean: pofiles: $(POFILES) +update: pofiles check + check: $(if $(SUPPRESS_PO_UPDATE),,pofiles) $S set -e; for file in $(POFILES); do \ lang=`echo $$file | sed 's/\.po//'`; \ diff --git a/po4a/Makefile b/po4a/Makefile index 6b1792a1..c759ce84 100644 --- a/po4a/Makefile +++ b/po4a/Makefile @@ -82,7 +82,7 @@ default: pofiles include ../i18n-common.make PO4A ?= po4a -all: translated +all update: translated pofiles: po4a.cfg $(PO4A) --no-translations $< -- 2.30.2