Dont rebuild .pot file always, for fresh checkouts it will be readonly
authorNathan Scott <nathans@sgi.com>
Mon, 7 Jul 2003 21:04:01 +0000 (21:04 +0000)
committerNathan Scott <nathans@sgi.com>
Mon, 7 Jul 2003 21:04:01 +0000 (21:04 +0000)
include/buildrules

index cecb4c944a7be4c2ef996985803fdf1e888387cd..6dfacde501cc88578811781ff94da629671662db 100644 (file)
@@ -59,8 +59,8 @@ ifdef LINGUAS
 %.pot: $(XGETTEXTFILES)
        xgettext --omit-header --language=C --keyword=_ -o $@ $(XGETTEXTFILES)
 
 %.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
        @if ! diff $@.tmpo $@ >/dev/null; then \
                echo "$@ is out of date, see $@.tmpo"; \
        fi