$(LIB_LIBS)
backend_in_files = comicsdocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
-
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
$(DJVU_LIBS)
backend_in_files = djvudocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
-
-
-
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
endif
backend_in_files = dvidocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
-
-
-
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
$(BACKEND_LIBS) -lz
backend_in_files = impressdocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
$(CAIRO_PS_LIBS)
backend_in_files = pdfdocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
$(BACKEND_LIBS)
backend_in_files = pixbufdocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
$(SPECTRE_LIBS)
backend_in_files = psdocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
-ltiff
backend_in_files = tiffdocument.evince-backend.in
-
-%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
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])
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])
libevmisc_la_LIBADD = \
$(top_builddir)/libdocument/libevdocument.la \
$(top_builddir)/libview/libevview.la
-