speechd-discuss
[Top][All Lists]
Advanced

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

No subject


From: bogus
Subject: No subject
Date: Mon, 28 Jun 2010 07:45:32 -0000

po/POTFILES.in.
---
 Makefile.am       |    2 +-
 configure.in      |   18 +++++++++++++++++-
 po/LINGUAS        |    1 +
 po/Makefile.in.in |    1 +
 4 files changed, 20 insertions(+), 2 deletions(-)
 create mode 100644 po/LINGUAS
 create mode 120000 po/Makefile.in.in
 create mode 100644 po/POTFILES.in

diff --git a/Makefile.am b/Makefile.am
index 5353ce9..b7e507b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS= src config doc
+SUBDIRS= src config doc po
 
 EXTRA_DIST= ChangeLog NEWS TODO AUTHORS COPYING INSTALL README intl/*.c 
intl/*.h build.sh version.sh
 
diff --git a/configure.in b/configure.in
index ca6c49b..c4d1fa0 100644
--- a/configure.in
+++ b/configure.in
@@ -2,6 +2,8 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(configure.in)
 
+
+
 AC_LANG(C)
 
 dnl progs
@@ -18,6 +20,16 @@ AC_ARG_ENABLE([python],
        [],
        [enable_python=check])
 
+#
+# Setup GETTEXT
+#
+GETTEXT_PACKAGE=speech-dispatcher
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
+AM_GLIB_GNU_GETTEXT
+IT_PROG_INTLTOOL([0.40.0])
+
+
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_CHECK_HEADERS(limits.h sys/ioctl.h sys/time.h unistd.h)
@@ -399,5 +411,9 @@ AC_SUBST(ERROR_CFLAGS)
 AC_SUBST(RPATH)
 AC_SUBST(RDYNAMIC)
 
-AC_OUTPUT([Makefile src/Makefile src/server/Makefile src/modules/Makefile 
src/c/Makefile src/c/api/Makefile src/c/clients/Makefile 
src/c/clients/say/Makefile src/c/clients/spdsend/Makefile src/tests/Makefile 
src/audio/Makefile src/audio/static_plugins.c config/Makefile 
config/modules/Makefile config/clients/Makefile doc/Makefile 
src/python/Makefile src/python/speechd/Makefile 
src/python/speechd_config/Makefile])
+# Path of installed localization files:
+localedir=${datadir}/locale
+AC_SUBST(localedir)
+
+AC_OUTPUT([Makefile src/Makefile src/server/Makefile src/modules/Makefile 
src/c/Makefile src/c/api/Makefile src/c/clients/Makefile 
src/c/clients/say/Makefile src/c/clients/spdsend/Makefile src/tests/Makefile 
src/audio/Makefile src/audio/static_plugins.c config/Makefile 
config/modules/Makefile config/clients/Makefile doc/Makefile 
src/python/Makefile src/python/speechd/Makefile 
src/python/speechd_config/Makefile po/Makefile.in])
 
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..6fa3550
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1 @@
+# leep this file sorted, one language per line.
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
new file mode 120000
index 0000000..e4713cf
--- /dev/null
+++ b/po/Makefile.in.in
@@ -0,0 +1 @@
+/usr/share/intltool/Makefile.in.in
\ No newline at end of file
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..e69de29
-- 
1.7.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]