Mercurial > hg
comparison Makefile @ 20120:872f81de2865
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.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sun, 17 Nov 2013 12:17:55 +0100 |
parents | c845b1a95eed |
children | 2af9e1d40dc7 |
comparison
equal
deleted
inserted
replaced
20119:1648e44edd8d | 20120:872f81de2865 |
---|---|
128 | 128 |
129 %.po: i18n/hg.pot | 129 %.po: i18n/hg.pot |
130 # work on a temporary copy for never having a half completed target | 130 # work on a temporary copy for never having a half completed target |
131 cp $@ $@.tmp | 131 cp $@ $@.tmp |
132 msgmerge --no-location --update $@.tmp $^ | 132 msgmerge --no-location --update $@.tmp $^ |
133 mv -f $@~ $@ | 133 mv -f $@.tmp $@ |
134 | 134 |
135 .PHONY: help all local build doc clean install install-bin install-doc \ | 135 .PHONY: help all local build doc clean install install-bin install-doc \ |
136 install-home install-home-bin install-home-doc dist dist-notests tests \ | 136 install-home install-home-bin install-home-doc dist dist-notests tests \ |
137 update-pot | 137 update-pot |