Merging upstream version 0.1.3.
[debian/lxmenu-data.git] / configure.ac
CommitLineData
a9eb2d9f
AG
1AC_INIT([lxmenu-data], [0.1.3],
2 [http://lxde.org/])
3AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-xz])
4
5GETTEXT_PACKAGE=lxmenu-data
6AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of default gettext domain])
7AC_SUBST(GETTEXT_PACKAGE)
8
9# Generate po/LINGUAS on the fly rather than relying on translators
10# to maintain it manually. This also overcome the problem that Transifex
11# cannot add a language to po/LINGUAS if a new po file is submitted.
12rm -f $srcdir/po/LINGUAS
13for po_file in `ls $srcdir/po/*.po | sort`;
14do
15 lang=`echo "$po_file" | sed "s|.*/po/\(.*\)\.po|\1|g"`
16 echo $lang >> $srcdir/po/LINGUAS
17done
18
19AM_GLIB_GNU_GETTEXT
20
21IT_PROG_INTLTOOL([0.40.0])
22
23dnl dirty hack used to prevent the installation of useless mo files.
24USE_NLS=no
25AC_SUBST(USE_NLS)
26
27AC_OUTPUT([
28Makefile
29layout/Makefile
30desktop-directories/Makefile
31po/Makefile.in
32])