trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trans-coord/gnun/server/gnun GNUmakefile


From: Ineiev
Subject: trans-coord/gnun/server/gnun GNUmakefile
Date: Sun, 16 Dec 2018 14:11:32 -0500 (EST)

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Ineiev <ineiev> 18/12/16 14:11:32

Modified files:
        gnun/server/gnun: GNUmakefile 

Log message:
        (merge-dir-po): Don't touch PO file when unneeded.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.194&r2=1.195

Patches:
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -b -r1.194 -r1.195
--- GNUmakefile 16 Dec 2018 06:46:02 -0000      1.194
+++ GNUmakefile 16 Dec 2018 19:11:31 -0000      1.195
@@ -238,12 +238,13 @@
        $(MSGATTRIB) --fuzzy --no-obsolete --translated $(1) \
   | $(MSGCAT) --use-first --more-than=1 $(2) - \
   | $(MSGATTRIB) --no-fuzzy --translated \
-  | $(MSGCAT) --use-first --less-than=2 -o $(1) $(1) -
+  | $(MSGCAT) --use-first --less-than=2 -o $(1).tmp $(1) -
        $(MSGMERGE) --backup=none --update --previous -C $(2) \
-  $(1) $$(basename $$(basename $(1))).pot
+  $(1).tmp $$(basename $$(basename $(1))).pot
        $$(if $$(and $(WDIFF),$$(call find-language,$$(basename $$(notdir 
$(2))),\
                                    $(FUZZY_DIFF_LINGUAS))), \
-           $(ADD-FUZZY-DIFF) --in-place $(1),true)
+           $(ADD-FUZZY-DIFF) --in-place $(1).tmp,true)
+       $$(call check-new-po,$(1))
 endef
 
 # Define rules for merging strings from directory $(2) for language $(1).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]