Author: pfrields
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7271
Modified Files:
Makefile.common
Log Message:
Add function for po/LINGUAS (#244480)
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- Makefile.common 22 Jun 2007 01:23:40 -0000 1.166
+++ Makefile.common 4 Jul 2007 06:23:24 -0000 1.167
@@ -188,6 +188,15 @@
#########################################################################
#########################################################################
+# If ${OTHERS} does not exist, look for a po/LINGUAS file with a list
+# of locales. Using a po/LINGUAS file allows translators with access
+# to only the po/ folders to add their locales to the list without
+# seeking help from an XML editorial person.
+# The sed script ensures that comments are excised properly.
+OTHERS ?=$(shell test -f po/LINGUAS && /bin/sed 's/\#.*//' po/LINGUAS)
+#########################################################################
+
+#########################################################################
# Set a provisional ${LANG} value. We'll dynamically change this as
# needed. The "${PRI_LANG}" value is used because that is the original
# language the doc.
Show replies by date