From e1ffb1011566ec68246df33ca42774b44ad5006c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 19 Mar 2012 10:20:08 +0000 Subject: [PATCH] po-docs: Rename LINGUAS -> linguas (RHBZ#804464). --- po-docs/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/po-docs/Makefile.am b/po-docs/Makefile.am index cbe20cddb..416c52837 100644 --- a/po-docs/Makefile.am +++ b/po-docs/Makefile.am @@ -20,11 +20,12 @@ # libguestfs.pot file. # Languages. -LINGUAS = ja uk +# Don't use LINGUAS (uppercase) as Gentoo defines it (RHBZ#804464). +linguas = ja uk EXTRA_DIST = \ libguestfs-docs.pot \ - $(LINGUAS:%=%.po) + $(linguas:%=%.po) CLEANFILES = po4a.conf @@ -32,7 +33,7 @@ CLEANFILES = po4a.conf # language directory contains a Makefile.am that we need to keep up to # date (note each $lang/Makefile.am should be identical). # XXX Is there a better way? -SUBDIRS = $(LINGUAS) +SUBDIRS = $(linguas) update-po: libguestfs-docs.pot @@ -49,7 +50,7 @@ libguestfs-docs.pot: po4a.conf --msgid-bugs-address libguestfs@redhat.com \ --copyright-holder "Red Hat Inc." \ po4a.conf - for f in `find $(LINGUAS) -name '*.pod' -o -name '*.pl'`; do \ + for f in `find $(linguas) -name '*.pod' -o -name '*.pl'`; do \ echo '=encoding utf8' > $$f.new; \ awk 'FNR >= 14 { print }' < $$f >> $$f.new; \ mv $$f.new $$f; \