From: Robert Millan <rmh@aybabtu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Jordi Mallach <jordi@sindominio.net>,
Carles Pina i Estany <carles@pina.cat>
Subject: Re: gettext in build system
Date: Mon, 16 Nov 2009 20:15:12 +0100 [thread overview]
Message-ID: <20091116191512.GA31473@thorin> (raw)
In-Reply-To: <20091116002303.GV28534@riva.ucam.org>
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
On Mon, Nov 16, 2009 at 12:23:04AM +0000, Colin Watson wrote:
> > > + textdomain ("grub");
> >
> > What's the usual way to handle this? TEXTDOMAIN macro?
>
> I usually use textdomain (PACKAGE).
It's a bit unusual that we don't have PACKAGE. This is usually provided
by aclocal via AM_INIT_AUTOMAKE(), so I guess it's time to start
auto-generating aclocal.m4, as with attached patch.
Comments?
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
[-- Attachment #2: aclocal.diff --]
[-- Type: text/x-diff, Size: 768 bytes --]
2009-11-16 Robert Millan <rmh.grub@aybabtu.com>
* aclocal.m4: Move from here ...
* acinclude.m4: ... to here.
* autogen.sh: Add call to `aclocal'.
* configure.ac: Add AM_INIT_AUTOMAKE() after AC_INIT() call.
=== renamed file 'aclocal.m4' => 'acinclude.m4'
=== modified file 'autogen.sh'
--- autogen.sh 2009-11-08 16:43:36 +0000
+++ autogen.sh 2009-11-16 19:01:50 +0000
@@ -2,6 +2,7 @@
set -e
+aclocal
autoconf
autoheader
echo timestamp > stamp-h.in
=== modified file 'configure.ac'
--- configure.ac 2009-11-09 19:58:24 +0000
+++ configure.ac 2009-11-16 19:00:41 +0000
@@ -32,6 +32,7 @@ dnl type.
AC_INIT([GRUB],[1.97],[bug-grub@gnu.org])
+AM_INIT_AUTOMAKE()
AC_PREREQ(2.59d)
AC_CONFIG_SRCDIR([include/grub/dl.h])
AC_CONFIG_HEADER([config.h])
next prev parent reply other threads:[~2009-11-16 19:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-15 23:13 gettext in build system Robert Millan
2009-11-15 23:59 ` Robert Millan
2009-11-16 0:23 ` Colin Watson
2009-11-16 19:15 ` Robert Millan [this message]
2009-11-16 19:09 ` Jordi Mallach
2009-11-16 19:56 ` Robert Millan
2009-11-16 20:24 ` Robert Millan
2009-11-16 22:34 ` Jordi Mallach
2009-11-16 22:32 ` Jordi Mallach
2009-11-17 10:49 ` Robert Millan
2009-11-17 12:22 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091116191512.GA31473@thorin \
--to=rmh@aybabtu.com \
--cc=carles@pina.cat \
--cc=grub-devel@gnu.org \
--cc=jordi@sindominio.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.