git.annexia.org
/
virt-p2v.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add .gitignore file for git.
[virt-p2v.git]
/
po
/
Makefile.in
diff --git
a/po/Makefile.in
b/po/Makefile.in
index
25b2609
..
e309170
100644
(file)
--- a/
po/Makefile.in
+++ b/
po/Makefile.in
@@
-56,9
+56,12
@@
clean:: clean-po
$(OCAML_GETTEXT) --action extract $(OCAML_GETTEXT_EXTRACT_OPTIONS) \
--extract-pot $@ $<
$(OCAML_GETTEXT) --action extract $(OCAML_GETTEXT_EXTRACT_OPTIONS) \
--extract-pot $@ $<
+# Also includes a fix for incorrectly escaped multi-byte sequences.
%.po: $(POTFILE)
$(OCAML_GETTEXT) --action merge $(OCAML_GETTEXT_MERGE_OPTIONS) \
--merge-pot $(POTFILE) $@
%.po: $(POTFILE)
$(OCAML_GETTEXT) --action merge $(OCAML_GETTEXT_MERGE_OPTIONS) \
--merge-pot $(POTFILE) $@
+ mv $@ $@.orig
+ perl -wpe 's/\\(\d{3})/pack "C*", $$1/ge' < $@.orig > $@
$(BUILDPO):
mkdir -p $(BUILDPO)
$(BUILDPO):
mkdir -p $(BUILDPO)