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

login
register
mail settings
Submitter Simon Heimberg
Date Nov. 18, 2013, 11:24 p.m.
Message ID <1a083ec12a747cfcffa7.1384817081@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/3063/
State Superseded
Commit 872f81de2865523e3ac9268d099b214b0504eb05
Headers show

Comments

Simon Heimberg - Nov. 18, 2013, 11:24 p.m.
# HG changeset patch
# User Simon Heimberg <simohe@besonet.ch>
# Date 1384687075 -3600
#      Sun Nov 17 12:17:55 2013 +0100
# Node ID 1a083ec12a747cfcffa7a6557678193399f921d1
# Parent  08fffc33af47f3f47647fd5df6d8d76f71d7f38d
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 08fffc33af47 -r 1a083ec12a74 Makefile
--- a/Makefile	Sun Nov 17 20:22:59 2013 -0500
+++ b/Makefile	Sun Nov 17 12:17:55 2013 +0100
@@ -127,7 +127,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 \