l10n-configure.sh revision 17925
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.
12782N/A echo $PROG_VERSION;
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
14355N/A dir=$DL(DESTDIR)$DL${DL}itlocaledir/$DL${DL}lang/LC_MESSAGES; $BS
14355N/A echo ${DQ}Copyright for $DL${DL}{GETTEXT_PACKAGE}.mo$DQ > $DL${DL}dir/$DL${DL}{GETTEXT_PACKAGE}.ui.copyright; $BS
14355N/A echo $DQ$DL${DL}line$DQ | sed -e ${DQ}s/^#$BS(.*$BS)/ ${BS}1/$DQ >> $DL${DL}dir/$DL${DL}{GETTEXT_PACKAGE}.ui.copyright; $BS
14355N/A >> $DL${DL}dir/$DL${DL}{GETTEXT_PACKAGE}.ui.copyright; $BS
14355N/A echo ${DQ}installing $DL${DL}{GETTEXT_PACKAGE}.ui.copyright in $DL${DL}dir$DQ; $BS
12769N/A mv po/Makefile.in.in.$$ po/Makefile.in.in
12769N/A if [ -f gnome-doc-utils.make ] ; then
12782N/A echo ${DQ}Copyright for $DL(DOC_MODULE)$DQ >> $DL(DESTDIR)/$DL(HELP_DIR)/$DL(DOC_MODULE)/$DL${DL}lc/$DL(DOC_MODULE).help.copyright; ${BS}
12782N/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/$DL(DOC_MODULE).help.copyright; ${BS}
12782N/A >> $DL(DESTDIR)/$DL(HELP_DIR)/$DL(DOC_MODULE)/$DL${DL}lc/$DL(DOC_MODULE).help.copyright; ${BS}
12782N/A echo $DQ$DQ >> $DL(DESTDIR)/$DL(HELP_DIR)/$DL(DOC_MODULE)/$DL${DL}lc/$DL(DOC_MODULE).help.copyright; ${BS}
12782N/A echo ${DQ}installing $DL(DOC_MODULE).help.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