commit 7dc78f6e6294461a8cd71a20fe763756a0953d9f
parent 78b12f6dd2daf09e9e1bcb74a1c9d0cd3a836fbc
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Tue, 27 Apr 2010 21:49:07 +1000
i18n autofu
Diffstat:
7 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -11,8 +11,12 @@ libtool
ltmain.sh
Makefile
Makefile.in
+Makefile.in.in
missing
+mkinstalldirs
omf.make
+po/POTFILES
+po/stamp-it
src/*.o
src/spek
stamp-h1
diff --git a/AUTHORS b/AUTHORS
@@ -0,0 +1,2 @@
+Alexander Kojevnikov <alexander@kojevnikov.com>
+
diff --git a/ChangeLog b/ChangeLog
@@ -0,0 +1 @@
+See `git log`
diff --git a/Makefile.am b/Makefile.am
@@ -1,3 +1,7 @@
-SUBDIRS = src
-EXTRA_DIST = HACKING
+SUBDIRS = src po
+
+EXTRA_DIST = \
+ HACKING
+ autogen.sh
+
CLEANFILES = *~
\ No newline at end of file
diff --git a/configure.ac b/configure.ac
@@ -7,11 +7,21 @@ AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LIBTOOL
+dnl ***************************************************************************
+dnl Internatinalization
+dnl ***************************************************************************
+GETTEXT_PACKAGE=spek
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
+AM_GLIB_GNU_GETTEXT
+IT_PROG_INTLTOOL([0.35.0])
+
AM_PATH_GTK_2_0([2.10.0],,AC_MSG_ERROR([Gtk+ 2.10.0 or higher required.]))
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
+ po/Makefile.in
])
AC_OUTPUT
\ No newline at end of file
diff --git a/po/LINGUAS b/po/LINGUAS
@@ -0,0 +1,2 @@
+# please keep this list sorted alphabetically
+#
diff --git a/po/POTFILES.in b/po/POTFILES.in
@@ -0,0 +1,3 @@
+# List of source files containing translatable strings.
+
+src/main.c