Re: po/Makefile.in.in



Hilaire Fernandes <hilaire@ofset.org> writes:
> Unfortunately the gettextize command is never call when there is a sed
> call to Makefile.in in the macro/autogen.sh:
> 
> --------- macro/autogen.sh ------------
> 
>       if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
>         if grep "sed.*POTFILES" configure.in >/dev/null; then
>           : do nothing -- we still have an old unmodified configure.in
>         else
>           echo "Creating $dr/aclocal.m4 ..."
>           test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
>           echo "Running gettextize...  Ignore non-fatal messages."
>           echo "no" | gettextize --force --copy
>           echo "Making $dr/aclocal.m4 writable ..."
>           test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
>         fi
>       fi
> --------------------------------
> 
> The grep matches this in the configure.in
> 
> [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
> 
> at the end of the configure.in, so gettextize is never executed.
> 
> I check in other two Gnome package (ggv, Guppi) and their configure.in
> script all finish with this sed call, so gettextize is never call from
> the autogen.sh.
> 
> I'm back to the "po/Makefile.in.in in cvs" mode for now. :-\

The steps are

  Install GNU gettext 0.10.35

  for coin in `grep 'sed.*POTFILES' */configure.in'`
  do
    dry=`dirname $coin`

    Remove the 'sed' line from $coin

    Remove the &intl from the line for $dry in the CVSROOT/modules file

    cd $dry && ./autogen.sh
  done

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]