]> www.fi.muni.cz Git - evince.git/blobdiff - data/Makefile.am
Add evince icon to the win32 executable
[evince.git] / data / Makefile.am
index 883a3aa697f3ddc1cd6b774fc054866e46d883ed..79660251a4d16e64ba44cbe493192bf699cb69ae 100644 (file)
@@ -36,6 +36,17 @@ 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
@@ -102,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
@@ -115,4 +128,7 @@ EXTRA_DIST =                                \
 
 DISTCLEANFILES = \
        $(DESKTOP_FILES)        \
-       $(schema_DATA)
+       $(schema_DATA)          \
+       $(service_DATA)
+
+-include $(top_srcdir)/git.mk