Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2009-08-16 20:04:25 (GMT)
committer Christian Persch <chpe@gnome.org>2009-08-16 20:04:25 (GMT)
commit6928d325b767871772a9abd86e91456bcceb405a (patch)
treeac190fd90a9bf8f58bfa5b0f7d0d8160f0a517d8 /configure.ac
parent3f7764002b149ab5052e1a9a55300bc9c8393062 (diff)
Add EV_INTLTOOL_EVINCE_BACKEND_RULE
Create a rule for the .evince-backend file creation, and use that one instead of hardcoding it in every Makefile.am. Use $(AM_V_GEN) in the rule.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ee8b971..9278b4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,7 @@ AM_PROG_CC_STDC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_STDC_HEADERS
-IT_PROG_INTLTOOL([0.35.0])
+
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
@@ -73,11 +73,17 @@ GNOME_CXX_WARNINGS
GTK_DOC_CHECK(1.0)
+IT_PROG_INTLTOOL([0.35.0])
+
GETTEXT_PACKAGE=evince
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
AM_GLIB_GNU_GETTEXT
+m4_pattern_allow([AM_V_GEN])dnl Make autoconf not complain about the rule below
+EV_INTLTOOL_EVINCE_BACKEND_RULE='%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+AC_SUBST([EV_INTLTOOL_EVINCE_BACKEND_RULE])
+
# Check which platform to use
AC_MSG_CHECKING([for which platform to build])