Hi Akim,

> > Yes, it would be desirable that someone regularly (maybe once every 6 months
> > or so) submits the gnulib .pot file to the TP.
> > 
> > Volunteers?
> 
> I'm looking into this.

Thank you!!

> Is `./gnulib-tool --create-megatestdir --dir=/tmp/gnulib-$(date +%F)` the 
> right starting point?

No, this is overkill.

Even
    ./gnulib-tool --create-testdir --without-tests --dir=...
is overkill.

It's essentially two commands:

$ version=`git describe HEAD | sed -e 's/v0.1/4.0.0/' -e 's/-/./g'`
# or similar - make sure it's increasing,
# cf. https://translationproject.org/domain/gnulib.html

$ xgettext --keyword=_ --keyword=N_ \
           --copyright-holder='Free Software Foundation, Inc.' \
           --package-name=gnulib --package-version=$version \
           --msgid-bugs-address='bug-gnulib@gnu.org' \
           -o gnulib.pot \
           `find lib -name '*.h' -o -name '*.c' | LC_ALL=C sort`

Bruno


Reply via email to