diff options
author | Paul W. Frields <stickster@gmail.com> | 2007-07-04 06:23:24 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2007-07-04 06:23:24 +0000 |
commit | 2012d3ebb93340f4920e486ab25ec7fcfe141c58 (patch) | |
tree | fa77e525e74f5f1f1102a1dbda3dfd2923af226a /Makefile.common | |
parent | 8274bb77c1e6f523f080a3022c248bc3909a2b95 (diff) | |
download | fedora-doc-utils-2012d3ebb93340f4920e486ab25ec7fcfe141c58.tar.gz fedora-doc-utils-2012d3ebb93340f4920e486ab25ec7fcfe141c58.tar.xz fedora-doc-utils-2012d3ebb93340f4920e486ab25ec7fcfe141c58.zip |
Add function for po/LINGUAS (#244480)
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 5f14510..8755357 100644 --- a/Makefile.common +++ b/Makefile.common @@ -188,6 +188,15 @@ endif ######################################################################### ######################################################################### +# 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. |