[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun GNUmakefile.team C...
From: |
Pavel Kharitonov |
Subject: |
trans-coord/gnun/server/gnun GNUmakefile.team C... |
Date: |
Mon, 17 Dec 2012 08:46:19 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Pavel Kharitonov <ineiev> 12/12/17 08:46:19
Modified files:
gnun/server/gnun: GNUmakefile.team ChangeLog
Log message:
(sync-file): Avoid touching the PO file with `ADD_FUZZY_DIFF' when
it doesn't change the file.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile.team?cvsroot=trans-coord&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.321&r2=1.322
Patches:
Index: GNUmakefile.team
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile.team,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- GNUmakefile.team 16 Dec 2012 10:13:55 -0000 1.24
+++ GNUmakefile.team 17 Dec 2012 08:46:19 -0000 1.25
@@ -244,7 +244,8 @@
$(MSGMERGE) $(MSGMERGEFLAGS) $(MSGMERGEVERBOSE) \
--update $1 $$$${www_po%.$(TEAM).po}.pot 2>&1; \
fi; \
- $(if $(ADD_FUZZY_DIFF), $(ADD_FUZZY_DIFF) -i $1;) \
+ $(if $(ADD_FUZZY_DIFF), $(ADD_FUZZY_DIFF) $1 > $1.tmp \
+ && cmp -s $1 $1.tmp || cp $1.tmp $1; $(RM) $1.tmp;) \
echo " " `$(MSGFMT) -o /dev/null --statistics $1 2>&1`; \
fi
sync: sync-$(1)
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.321
retrieving revision 1.322
diff -u -b -r1.321 -r1.322
--- ChangeLog 17 Dec 2012 06:51:59 -0000 1.321
+++ ChangeLog 17 Dec 2012 08:46:19 -0000 1.322
@@ -2,6 +2,8 @@
* gnun-diff-po.in: Eliminate a msgattrib invocation; remove
obsolete strings before the final msgcatting.
+ * GNUmakefile.team (sync-file): Avoid touching the PO file
+ with `ADD_FUZZY_DIFF' when it doesn't change the file.
2012-12-16 Pavel Kharitonov <address@hidden>
@@ -292,7 +294,8 @@
of configuration procedures.
* doc/gnun.texi (gnun-diff-po): New node.
- * gnun-diff-po.in: New file.
+ * gnun-diff-po.in:
+ * po-msg-diff.in: New files.
* configure.ac: Add checks for msgexec. Fix logic
for `gnun-preconvert'.
(decent_gettext): Make the variable depend on MSGCAT, MSGEXEC,