Fix po directory handling.

* configure.ac: Create po/Makefile.in rather than po/Makefile.
* grub-core/gnulib/Makefile.am: Import gettext module.
* m4/gnulib-cache.m4: Likewise.
* m4/gnulib-comp.m4: Likewise.
* m4/gettext.m4: New file, from gnulib.
* m4/glibc2.m4: Likewise.
* m4/iconv.m4: Likewise.
* m4/intdiv0.m4: Likewise.
* m4/intl.m4: Likewise.
* m4/intldir.m4: Likewise.
* m4/intlmacosx.m4: Likewise.
* m4/intmax.m4: Likewise.
* m4/inttypes-pri.m4: Likewise.
* m4/lcmessage.m4: Likewise.
* m4/lib-ld.m4: Likewise.
* m4/lib-link.m4: Likewise.
* m4/lib-prefix.m4: Likewise.
* m4/lock.m4: Likewise.
* m4/nls.m4: Likewise.
* m4/po.m4: Likewise.
* m4/printf-posix.m4: Likewise.
* m4/progtest.m4: Likewise.
* m4/threadlib.m4: Likewise.
* m4/uintmax_t.m4: Likewise.
* m4/visibility.m4: Likewise.
* po/Makefile.am: Remove.
* po/Makefile.in.in: New file, from gettext.
($(DOMAIN).pot-update): Support POTFILES-shell.
* po/Makevars: New file.
* po/POTFILES-shell: Rename to ...
* po/POTFILES-shell.in: ... this.  Update.
* po/POTFILES: Rename to ...
* po/POTFILES.in: ... this.  Update.
* po/Rules-quot: New file, from gettext.
* po/boldquot.sed: Likewise.
* po/en@boldquot.header: Likewise.
* po/en@quot.header: Likewise.
* po/insert-header.sin: Likewise.
* po/quot.sed: Likewise.
* po/remove-potcdate.sin: Likewise.
This commit is contained in:
Colin Watson 2010-09-21 00:09:23 +01:00
parent 3e0fa5d0e0
commit 269004c158
39 changed files with 4376 additions and 83 deletions

View file

@ -45,7 +45,9 @@ AC_DEFUN([gl_EARLY],
# Code from module getline:
# Code from module getopt-gnu:
# Code from module getopt-posix:
# Code from module gettext:
# Code from module gettext-h:
# Code from module havelib:
# Code from module include_next:
# Code from module intprops:
# Code from module langinfo:
@ -150,9 +152,13 @@ AC_DEFUN([gl_INIT],
gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
# Code from module getopt-posix:
gl_FUNC_GETOPT_POSIX
# Code from module gettext:
dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
AM_GNU_GETTEXT_VERSION([0.18.1])
# Code from module gettext-h:
AC_SUBST([LIBINTL])
AC_SUBST([LTLIBINTL])
# Code from module havelib:
# Code from module include_next:
# Code from module intprops:
# Code from module langinfo:
@ -400,6 +406,7 @@ AC_DEFUN([gltests_LIBSOURCES], [
AC_DEFUN([gl_FILE_LIST], [
build-aux/arg-nonnull.h
build-aux/c++defs.h
build-aux/config.rpath
build-aux/warn-on-use.h
lib/alloca.c
lib/alloca.in.h
@ -517,16 +524,30 @@ AC_DEFUN([gl_FILE_LIST], [
m4/getdelim.m4
m4/getline.m4
m4/getopt.m4
m4/gettext.m4
m4/glibc2.m4
m4/glibc21.m4
m4/gnulib-common.m4
m4/iconv.m4
m4/include_next.m4
m4/intdiv0.m4
m4/intl.m4
m4/intldir.m4
m4/intlmacosx.m4
m4/intmax.m4
m4/intmax_t.m4
m4/inttypes-pri.m4
m4/inttypes_h.m4
m4/langinfo_h.m4
m4/lcmessage.m4
m4/lib-ld.m4
m4/lib-link.m4
m4/lib-prefix.m4
m4/localcharset.m4
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-zh.m4
m4/lock.m4
m4/longlong.m4
m4/malloc.m4
m4/mbrtowc.m4
@ -538,7 +559,11 @@ AC_DEFUN([gl_FILE_LIST], [
m4/mmap-anon.m4
m4/multiarch.m4
m4/nl_langinfo.m4
m4/nls.m4
m4/po.m4
m4/printf-posix.m4
m4/printf.m4
m4/progtest.m4
m4/rawmemchr.m4
m4/realloc.m4
m4/regex.m4
@ -560,8 +585,11 @@ AC_DEFUN([gl_FILE_LIST], [
m4/strnlen.m4
m4/sys_wait_h.m4
m4/sysexits.m4
m4/threadlib.m4
m4/uintmax_t.m4
m4/unistd_h.m4
m4/vasnprintf.m4
m4/visibility.m4
m4/vsnprintf.m4
m4/warn-on-use.m4
m4/wchar_h.m4