add rules for msgmerge, soon obsoleting updatelang.sh

This commit is contained in:
Antoine Beaupré 2006-05-13 21:42:46 +00:00
parent c26d7e8c8b
commit 37bce73ad1
1 changed files with 8 additions and 2 deletions

View File

@ -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 $^
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 $@ $^