summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-02-28 12:35:30 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-02-28 12:35:30 +0000
commitf23c97324170f8b3f4101832f17f8f09f4777246 (patch)
tree505117159ef8418ba58ccca832e427633b7a67ea
parent2149123740e1c0f539389816a46640245aa09dd1 (diff)
downloadfedora-doc-utils-f23c97324170f8b3f4101832f17f8f09f4777246.tar.gz
fedora-doc-utils-f23c97324170f8b3f4101832f17f8f09f4777246.tar.xz
fedora-doc-utils-f23c97324170f8b3f4101832f17f8f09f4777246.zip
Added "msgmerge -U" switch to update .PO file in-place. Dropped the
"*.po.bank" backup file in favor of the msgmerge default behavior.
-rw-r--r--Makefile.common3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 810460e..7caee6b 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -455,8 +455,7 @@ po/${1}.po:: ${XMLFILES-${PRI_LANG}} po/${DOCBASE}.pot
if [ ! -f $$@ ]; then \
cp po/${DOCBASE}.pot $$@; \
else \
- cp $$@ $$@.bank; \
- ${MSGMERGE} -o $$@ $$@.bank po/${DOCBASE}.pot; \
+ ${MSGMERGE} -U --backup=simple $$@ po/${DOCBASE}.pot; \
fi
.PHONY: po-${1}