ui_DATA = \
evince-ui.xml \
evince-toolbar.xml \
- hand-open.png \
- $(NULL)
-
-#
-# Glade
-#
+ hand-open.png
-gladedir = $(pkgdatadir)
-glade_DATA = \
- evince-password.glade \
- evince-properties.glade \
- $(NULL)
+if ENABLE_PREVIEWER
+ui_DATA += evince-previewer-ui.xml
+endif
#
# Desktop file
desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)
+#
+# DBus servide file
+#
+if ENABLE_DBUS
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.gnome.evince.Daemon.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+$(service_DATA): $(service_in_files) Makefile
+ $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+endif
#
# GConf schema
#
+if WITH_GCONF
@INTLTOOL_SCHEMAS_RULE@
schema_in_files = evince.schemas.in
fi
endif
+else
+
+install-schemas:
+uninstall-schemas:
+
+endif
+
#
# GTK icon cache
#
# Extra files to be included in the tarball
#
-EXTRA_DIST = \
- $(glade_DATA) \
- $(ui_DATA) \
- $(DESKTOP_IN_FILES) \
- $(schema_in_files) \
- $(man_MANS) \
- $(NULL)
+EXTRA_DIST = \
+ $(ui_DATA) \
+ $(DESKTOP_IN_FILES) \
+ $(schema_in_files) \
+ org.gnome.evince.Daemon.service.in \
+ $(man_MANS) \
+ $(NULL)
#
# Clean up properly
DISTCLEANFILES = \
$(DESKTOP_FILES) \
- $(schema_DATA)
-
+ $(schema_DATA) \
+ $(service_DATA)
+-include $(top_srcdir)/git.mk