2012-08-26 10:55:09 +00:00
|
|
|
all: manual.pot messages.pot */LC_MESSAGES/manual.po */LC_MESSAGES/messages.po
|
2006-05-13 21:28:24 +00:00
|
|
|
|
2012-08-26 10:55:09 +00:00
|
|
|
messages.pot: ../*/*.php
|
2006-05-13 22:28:18 +00:00
|
|
|
[ -r $@ ] || touch $@
|
2012-08-21 09:58:08 +00:00
|
|
|
xgettext --copyright-holder="AlternC Team" --package-name="AlternC" --package-version="2.0" --msgid-bugs-address="i18n@alternc.org" --force-po -o $@ --keyword=__ --keyword=_ -L PHP -F --from-code UTF-8 -j $^
|
2006-05-13 21:42:46 +00:00
|
|
|
|
2012-08-26 10:55:09 +00:00
|
|
|
%/LC_MESSAGES/messages.po: messages.pot
|
2006-05-13 21:42:46 +00:00
|
|
|
msgmerge -v -U $@ $^
|
|
|
|
|
2012-08-26 10:55:09 +00:00
|
|
|
%/LC_MESSAGES/manual.po: manual.pot
|
2006-05-13 21:42:46 +00:00
|
|
|
msgmerge -v -U $@ $^
|