don't touch pot file if it exists

This commit is contained in:
Antoine Beaupré 2006-05-13 22:28:18 +00:00
parent 273e7b365d
commit 2dbfa8fe3a
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ all: messages.pot */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
messages.pot: ../*/*.php
touch $@
xgettext --force-po --omit-header --keyword=__ --keyword=_ -L PHP --from-code iso-8859-1 -j $^
[ -r $@ ] || touch $@
xgettext --force-po --omit-header -o $@ --keyword=__ --keyword=_ -L PHP --from-code iso-8859-1 -j $^
%/LC_MESSAGES/messages.po: messages.pot
msgmerge -v -U $@ $^