configure: Automatically remove obsolete entries in po files.

This commit is contained in:
Alexandre Julliard 2011-01-27 15:09:55 +01:00
parent c6193f91c8
commit 945ccf52e9
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -15491,7 +15491,7 @@ then
ALL_POT_FILES =$ALL_POT_FILES
all: \$(ALL_PO_FILES)
\$(ALL_PO_FILES): \$(srcdir)/po/wine.pot
msgmerge -U -q --backup=none \$@ \$(srcdir)/po/wine.pot && touch \$@
msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
\$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
msgcat -o \$@ \$(ALL_POT_FILES)"
fi

View File

@ -3009,7 +3009,7 @@ then
ALL_POT_FILES =$ALL_POT_FILES
all: \$(ALL_PO_FILES)
\$(ALL_PO_FILES): \$(srcdir)/po/wine.pot
msgmerge -U -q --backup=none \$[@] \$(srcdir)/po/wine.pot && touch \$[@]
msgmerge -q \$[@] \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$[@].new && mv \$[@].new \$[@]
\$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
msgcat -o \$[@] \$(ALL_POT_FILES)])
fi