po-docs: Fix UTF-8 encoding problem.

This commit is contained in:
Richard W.M. Jones
2011-07-18 09:33:24 +01:00
parent 03459c8fa7
commit 33fe14b42f

View File

@@ -50,7 +50,8 @@ libguestfs-docs.pot: po4a.conf
--copyright-holder "Red Hat Inc." \
po4a.conf
for f in `find $(LINGUAS) -name '*.pod' -o -name '*.pl'`; do \
awk 'FNR >= 14 { print }' < $$f > $$f.new; \
echo '=encoding utf8' > $$f.new; \
awk 'FNR >= 14 { print }' < $$f >> $$f.new; \
mv $$f.new $$f; \
done