don't touch pot file if it exists
This commit is contained in:
parent
273e7b365d
commit
2dbfa8fe3a
|
@ -2,8 +2,8 @@ all: messages.pot */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
|
||||||
|
|
||||||
|
|
||||||
messages.pot: ../*/*.php
|
messages.pot: ../*/*.php
|
||||||
touch $@
|
[ -r $@ ] || touch $@
|
||||||
xgettext --force-po --omit-header --keyword=__ --keyword=_ -L PHP --from-code iso-8859-1 -j $^
|
xgettext --force-po --omit-header -o $@ --keyword=__ --keyword=_ -L PHP --from-code iso-8859-1 -j $^
|
||||||
|
|
||||||
%/LC_MESSAGES/messages.po: messages.pot
|
%/LC_MESSAGES/messages.po: messages.pot
|
||||||
msgmerge -v -U $@ $^
|
msgmerge -v -U $@ $^
|
||||||
|
|
Loading…
Reference in New Issue