summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-19 10:20:08 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-21 14:09:03 +0000
commitc1e147c125197a3a0bc84fe4e62a89d928646288 (patch)
tree5adccf0dfd188f0ef816c863dc6a725e2f7c9669
parent41d3814a75d999d3ccf21a4fb34e4cdcda099658 (diff)
downloadlibguestfs-c1e147c125197a3a0bc84fe4e62a89d928646288.tar.gz
libguestfs-c1e147c125197a3a0bc84fe4e62a89d928646288.tar.xz
libguestfs-c1e147c125197a3a0bc84fe4e62a89d928646288.zip
po-docs: Rename LINGUAS -> linguas (RHBZ#804464).
(cherry picked from commit e1ffb1011566ec68246df33ca42774b44ad5006c)
-rw-r--r--po-docs/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/po-docs/Makefile.am b/po-docs/Makefile.am
index cbe20cdd..416c5283 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; \