From 37bce73ad17b5b04aedb59c617aa1c94573c467b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Sat, 13 May 2006 21:42:46 +0000 Subject: [PATCH] add rules for msgmerge, soon obsoleting updatelang.sh --- bureau/locales/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bureau/locales/Makefile b/bureau/locales/Makefile index 0b7501b5..969948eb 100644 --- a/bureau/locales/Makefile +++ b/bureau/locales/Makefile @@ -1,6 +1,12 @@ -all: messages.po +all: messages.po */LC_MESSAGES/messages.po messages.po: ../*/*.php touch $@ - xgettext --force-po --omit-header -L PHP --from-code iso-8859-1 -j $^ \ No newline at end of file + xgettext --force-po --omit-header -L PHP --from-code iso-8859-1 -j $^ + +%/LC_MESSAGES/messages.po: messages.po + msgmerge -v -U $@ $^ + +%/LC_MESSAGES/manual.po: manual.po + msgmerge -v -U $@ $^