From: Nathan Scott Date: Mon, 7 Jul 2003 21:04:01 +0000 (+0000) Subject: Dont rebuild .pot file always, for fresh checkouts it will be readonly X-Git-Tag: v1.1.0~965 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=e7c334bcd0a945e5c59b842f1a5282e89bc6a130 Dont rebuild .pot file always, for fresh checkouts it will be readonly --- diff --git a/include/buildrules b/include/buildrules index cecb4c94..6dfacde5 100644 --- a/include/buildrules +++ b/include/buildrules @@ -59,8 +59,8 @@ ifdef LINGUAS %.pot: $(XGETTEXTFILES) xgettext --omit-header --language=C --keyword=_ -o $@ $(XGETTEXTFILES) -%.po: $(PKG_NAME).pot - $(MSGMERGE) -o $@.tmpo $@ $< +%.po: + $(MSGMERGE) -o $@.tmpo $@ $(PKG_NAME).pot @if ! diff $@.tmpo $@ >/dev/null; then \ echo "$@ is out of date, see $@.tmpo"; \ fi