X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=po-docs%2FMakefile.am;h=1454636fc81d08abc7870ed3893cac13b2e2a7f5;hb=085a56690611980f438e8af2eb47ebb411465775;hp=ede07e79dae338428b43672a098634ffa1ff03f2;hpb=f5d26e3cea568be665b6fbb442b328603cba8d93;p=libguestfs.git diff --git a/po-docs/Makefile.am b/po-docs/Makefile.am index ede07e7..1454636 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 mv $@-t $@