From 2dbfa8fe3a9ef155d2fae2a04a9560aa0170ae1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Sat, 13 May 2006 22:28:18 +0000 Subject: [PATCH] don't touch pot file if it exists --- bureau/locales/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bureau/locales/Makefile b/bureau/locales/Makefile index 9c30db3f..fbc458f3 100644 --- a/bureau/locales/Makefile +++ b/bureau/locales/Makefile @@ -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 $@ $^