2010-04-29 21:31:46 +00:00
|
|
|
all: mailman_manual.pot mailman.pot */LC_MESSAGES/mailman.po */LC_MESSAGES/mailman_manual.po
|
2006-05-13 21:28:24 +00:00
|
|
|
|
|
|
|
|
2010-04-29 21:31:46 +00:00
|
|
|
mailman.pot: ../*/*.php
|
2006-05-13 22:28:18 +00:00
|
|
|
[ -r $@ ] || touch $@
|
|
|
|
xgettext --force-po --omit-header -o $@ --keyword=__ --keyword=_ -L PHP --from-code iso-8859-1 -j $^
|
2006-05-13 21:42:46 +00:00
|
|
|
|
2010-04-29 21:31:46 +00:00
|
|
|
%/LC_MESSAGES/mailman.po: mailman.pot
|
2006-05-13 21:42:46 +00:00
|
|
|
msgmerge -v -U $@ $^
|
|
|
|
|
2010-04-29 21:31:46 +00:00
|
|
|
%/LC_MESSAGES/mailman_manual.po: mailman_manual.pot
|
2006-05-13 21:42:46 +00:00
|
|
|
msgmerge -v -U $@ $^
|