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: v2.6.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1687900e8b766fac536c0cf08f0ca0e884893e1;p=thirdparty%2Fxfsprogs-dev.git Dont rebuild .pot file always, for fresh checkouts it will be readonly --- diff --git a/include/buildrules b/include/buildrules index cecb4c944..6dfacde50 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