From: Ian Jackson Date: Thu, 4 Oct 2018 10:43:19 +0000 (+0100) Subject: i18n: Provide `i18n-update' target in toplevel Makefile X-Git-Tag: archive/debian/7.0~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=707e502d2fb71f98f990edc12bd5fbd3d32dae52;p=dgit.git i18n: Provide `i18n-update' target in toplevel Makefile With a convenience alias `i18n'. Signed-off-by: Ian Jackson --- 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 $<