X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=po-docs%2FMakefile.am;h=22b6635ebad923a74b4dfdef8ae28759b04f2ccf;hp=ede07e79dae338428b43672a098634ffa1ff03f2;hb=1e35941f62bddafd6b88270b22b3afe4a5d37baa;hpb=f5d26e3cea568be665b6fbb442b328603cba8d93 diff --git a/po-docs/Makefile.am b/po-docs/Makefile.am index ede07e7..22b6635 100644 --- a/po-docs/Makefile.am +++ b/po-docs/Makefile.am @@ -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 @@ -68,8 +69,11 @@ po4a.conf: podfiles podfiles: Makefile rm -f $@ $@-t find $(top_srcdir) -name '*.pod' | \ - grep -v /stamp- | \ - grep -v /po-docs/ > $@-t + grep -v /debian/ | \ + grep -v /libguestfs-1 | \ + grep -v /po-docs/ | \ + grep -v /stamp- \ + > $@-t find $(top_srcdir)/tools -name 'virt-*.pl' >> $@-t - sort -o $@-t $@-t + LC_ALL=C sort -o $@-t $@-t mv $@-t $@