6 Bootstrap this package from the checked-out sources.
17 echo >&2 "$0: $option: unknown option"
24 echo "$0: getting gnulib files..."
25 git submodule init || exit $?
26 git submodule update || exit $?
29 ls po/*.po 2>/dev/null | sed 's|.*/||; s|\.po$||' > po/LINGUAS
31 # Run autopoint, to get po/Makevars.template:
32 # Also, released autopoint has the tendency to install macros that have
33 # been obsoleted in current gnulib, so run this before gnulib-tool.
36 # Autoreconf runs aclocal before libtoolize, which causes spurious
37 # warnings if the initial aclocal is confused by the libtoolized
38 # (or worse out-of-date) macro directory.
39 libtoolize --copy --install
41 # Create gettext configuration.
42 echo "$0: Creating po/Makevars from po/Makevars.template ..."
45 /^EXTRA_LOCALE_CATEGORIES *=/s/=.*/= '"$EXTRA_LOCALE_CATEGORIES"'/
46 /^MSGID_BUGS_ADDRESS *=/s/=.*/= '"$MSGID_BUGS_ADDRESS"'/
47 /^XGETTEXT_OPTIONS *=/{
50 '"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+}
52 ' po/Makevars.template >po/Makevars
54 gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
83 --source-base=gnulib/lib \
84 --tests-base=gnulib/tests \
87 # Disable autopoint and libtoolize, since they were already done above.
88 AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install