AlternC/bureau/locales/Makefile

13 lines
320 B
Makefile

all: messages.po */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
messages.po: ../*/*.php
touch $@
xgettext --force-po --omit-header --keyword=__ --keyword=_ -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 $@ $^