Patchwork [1,of,2,V2+] Makefile: fix po file updating by using same file name everywhere

login
register
mail settings
Submitter Simon Heimberg
Date Nov. 25, 2013, 8:24 p.m.
Message ID <78670e69a7e22e7905bd.1385411075@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/3133/
State Superseded
Commit 872f81de2865523e3ac9268d099b214b0504eb05
Headers show

Comments

Simon Heimberg - Nov. 25, 2013, 8:24 p.m.
# HG changeset patch
# User Simon Heimberg <simohe@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.

Patch

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 \