]> www.fi.muni.cz Git - evince.git/blobdiff - data/Makefile.am
Add evince icon to the win32 executable
[evince.git] / data / Makefile.am
index 4d54847d38b670175da898eef942417b2aa48271..79660251a4d16e64ba44cbe493192bf699cb69ae 100644 (file)
@@ -36,11 +36,23 @@ DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
 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
@@ -71,6 +83,13 @@ if GCONF_SCHEMAS_INSTALL
        fi
 endif
 
+else
+
+install-schemas:
+uninstall-schemas:
+
+endif
+
 #
 # GTK icon cache
 #
@@ -94,12 +113,14 @@ update-icon-cache:
 # Extra files to be included in the tarball
 #
 
-EXTRA_DIST =                           \
-       $(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)                             \
+       evince.ico                              \
+       $(NULL)
 
 #
 # Clean up properly
@@ -107,6 +128,7 @@ EXTRA_DIST =                                \
 
 DISTCLEANFILES = \
        $(DESKTOP_FILES)        \
-       $(schema_DATA)
-
+       $(schema_DATA)          \
+       $(service_DATA)
 
+-include $(top_srcdir)/git.mk