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