backends \
tests \
tools \
+ po \
$(NULL)
if ENABLE_DOCS
fi
autoreconf -i -f
+autopoint --force || exit $?
+intltoolize --force --copy --automake
run_configure=true
for arg in $*; do
[AC_MSG_ERROR([valadoc not found])])])
# -----------------------------------------------------------
+# Gettext
+# -----------------------------------------------------------
+
+GETTEXT_PACKAGE=AC_PACKAGE_NAME
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
+AM_GNU_GETTEXT_VERSION([0.17])
+AM_GNU_GETTEXT([external])
+IT_PROG_INTLTOOL([0.35.0])
+
+# -----------------------------------------------------------
# Error flags
# -----------------------------------------------------------
backends/telepathy/lib/Makefile
folks/Makefile
docs/Makefile
+ po/Makefile.in
tests/Makefile
tests/folks/Makefile
tests/key-file/Makefile
[CCode (cname = "PACKAGE_STRING")]
public static const string PACKAGE_STRING;
+
+ [CCode (cname = "GETTEXT_PACKAGE")]
+ public static const string GETTEXT_PACKAGE;
+
+ [CCode (cname = "LOCALE_DIR")]
+ public static const string LOCALE_DIR;
}
bin_PROGRAMS = folks-import
endif
+AM_CPPFLAGS = \
+ -include $(CONFIG_HEADER) \
+ -DLOCALE_DIR=\"$(pkgdatadir)/locale\" \
+ $(NULL)
+
VALAFLAGS = \
--vapidir=$(top_builddir)/folks \
--pkg=gee-1.0 \
--pkg=libxml-2.0 \
--pkg=folks \
+ --pkg=build-conf \
$(NULL)
folks_import_SOURCES = \
public static int main (string[] args)
{
+ Intl.bindtextdomain (BuildConf.GETTEXT_PACKAGE, BuildConf.LOCALE_DIR);
+ Intl.textdomain (BuildConf.GETTEXT_PACKAGE);
+
OptionContext context = new OptionContext ("— import meta-contact " +
"information to libfolks");
context.add_main_entries (ImportTool.options, "folks");