l10n-configure.sh revision 12769
12754N/A# This script modifies configure.in, .po files, po/Makefile.in.in and so on
12754N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12754N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12769N/A ARGS=`$GETOPT -o chlpx -l enable-copyright,help,usage,enable-sun-linguas,enable-pot,disable-gnu-extensions -n "$PROGNAME" -- "$@"`
12769N/A -x|--disable-gnu-extensions)
4455N/A if [ -f configure.in ] ; then
4467N/A elif [ -f configure.ac ] ; then
12769N/A if [ -f po/Makefile.in.in ] ; then
12769N/A dir=$DL(DESTDIR)$DL(itlocaledir)/$DL${DL}lang/LC_MESSAGES; $BS
12769N/A echo $DQ$DL${DL}line$DQ | sed -e ${DQ}s/^#$BS(.*$BS)/ ${BS}1/$DQ >> $DL${DL}dir/copyright; $BS
12769N/A mv po/Makefile.in.in.$$ po/Makefile.in.in
12769N/A if [ -f gnome-doc-utils.make ] ; then
12769N/A echo ${DQ}Copyright for $DL(DOC_MODULE)$DQ >> $DL(DESTDIR)/$DL(HELP_DIR)/$DL(DOC_MODULE)/$DL${DL}lc/copyright; ${BS}
12769N/A echo $DQ$DL${DL}line$DQ | sed -e ${DQ}s/^#$BS(.*$BS)/ ${BS}1/$DQ >> $DL(DESTDIR)/$DL(HELP_DIR)/$DL(DOC_MODULE)/$DL${DL}lc/copyright; ${BS}
12769N/A echo ${DQ}installing copyright in $DL(DESTDIR)/$DL(HELP_DIR)/$DL(DOC_MODULE)/$DL${DL}lc$DQ; ${BS}
4455N/A PO_DIRS=po*/POTFILES.in
4455N/A cat missing >> POTFILES.in
10244N/A if [ $DISABLE_GNU_EXTENSIONS -eq 1 ] ; then
10244N/A if [ $ENABLE_SUN_ALL_LINGUAS -eq 1 ] ; then
12769N/A if [ $ENABLE_COPYRIGHT -eq 1 ] ; then