Show More
@@ -108,7 +108,7 b' i18n/hg.pot: $(PYFILES) $(DOCFILES)' | |||
|
108 | 108 | mercurial/fileset.py mercurial/revset.py \ |
|
109 | 109 | mercurial/templatefilters.py mercurial/templatekw.py \ |
|
110 | 110 | mercurial/filemerge.py \ |
|
111 |
$(DOCFILES) > i18n/hg.pot |
|
|
111 | $(DOCFILES) > i18n/hg.pot.tmp | |
|
112 | 112 | # All strings marked for translation in Mercurial contain |
|
113 | 113 | # ASCII characters only. But some files contain string |
|
114 | 114 | # literals like this '\037\213'. xgettext thinks it has to |
@@ -120,11 +120,11 b' i18n/hg.pot: $(PYFILES) $(DOCFILES)' | |||
|
120 | 120 | --msgid-bugs-address "<mercurial-devel@selenic.com>" \ |
|
121 | 121 | --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \ |
|
122 | 122 | --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \ |
|
123 |
-d hg -p i18n -o hg.pot |
|
|
124 |
$(PYTHON) i18n/posplit i18n/hg.pot |
|
|
123 | -d hg -p i18n -o hg.pot.tmp | |
|
124 | $(PYTHON) i18n/posplit i18n/hg.pot.tmp | |
|
125 | 125 | # The target file is not created before the last step. So it never is in |
|
126 | 126 | # an intermediate state. |
|
127 |
mv -f i18n/hg.pot |
|
|
127 | mv -f i18n/hg.pot.tmp i18n/hg.pot | |
|
128 | 128 | |
|
129 | 129 | %.po: i18n/hg.pot |
|
130 | 130 | # work on a temporary copy for never having a half completed target |
General Comments 0
You need to be logged in to leave comments.
Login now