[PATCH 1 of 2 V3] Makefile: fix po file updating by using same file name everywhere

Simon Heimberg simohe at besonet.ch
Mon Nov 25 14:59:05 CST 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1384687075 -3600
# Node ID 78670e69a7e22e7905bd5868297815ff14d96260
# Parent  1c46b18b0e1c47fa4cecf21b78c083a54ae9903f
Makefile: fix po file updating by using same file name everywhere

The update is done on a temporary file since ce5d711475a3. The name of this
file was first XX.po~ and has been changed to XX.po.tmp in all except of one
place. Do this now.

diff -r 1c46b18b0e1c -r 78670e69a7e2 Makefile
--- a/Makefile	Fre Nov 22 17:26:58 2013 -0600
+++ b/Makefile	Son Nov 17 12:17:55 2013 +0100
@@ -130,7 +130,7 @@
         # work on a temporary copy for never having a half completed target
 	cp $@ $@.tmp
 	msgmerge --no-location --update $@.tmp $^
-	mv -f $@~ $@
+	mv -f $@.tmp $@
 
 .PHONY: help all local build doc clean install install-bin install-doc \
 	install-home install-home-bin install-home-doc dist dist-notests tests \


More information about the Mercurial-devel mailing list