gnome-settings-daemon r73 - in trunk: . data src



Author: wbolster
Date: Mon Jan 28 13:23:34 2008
New Revision: 73
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=73&view=rev

Log:
2008-01-28  Wouter Bolsterlee  <wbolster svn gnome org>

	* data/org.gnome.SettingsDaemon.service.in:
	* src/Makefile.am:

	Hopefully allow $(libdir) to be the same directory as
	$(libexecdir) by installing the gnome-settings-daemon
	binary into a subdirectory of $(libexecdir), i.e.
	$(libexecdir)/gnome-settings-daemon/gnome-settings-daemon.
	Fixes bug #504203.


Modified:
   trunk/ChangeLog
   trunk/data/org.gnome.SettingsDaemon.service.in
   trunk/src/Makefile.am

Modified: trunk/data/org.gnome.SettingsDaemon.service.in
==============================================================================
--- trunk/data/org.gnome.SettingsDaemon.service.in	(original)
+++ trunk/data/org.gnome.SettingsDaemon.service.in	Mon Jan 28 13:23:34 2008
@@ -1,3 +1,3 @@
 [D-BUS Service]
 Name=org.gnome.SettingsDaemon
-Exec= libexecdir@/gnome-settings-daemon
+Exec= libexecdir@/gnome-settings-daemon/gnome-settings-daemon

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Mon Jan 28 13:23:34 2008
@@ -1,17 +1,29 @@
 NULL =
 
 INCLUDES = \
-	-DDATADIR=\""$(datadir)"\"		 	\
-	-DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\"\
-	-DLIBEXECDIR=\""$(libexecdir)"\" 		\
-	-DGNOME_SETTINGS_PLUGINDIR=\""$(libdir)/gnome-settings-daemon/plugins"\"	\
-	$(WARN_CFLAGS)					\
-	$(DISABLE_DEPRECATED_CFLAGS)			\
-	$(SETTINGS_DAEMON_CFLAGS)			\
+	-DDATADIR=\""$(datadir)"\"				\
+	-DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\"	\
+	-DLIBEXECDIR=\""$(libexecdir)"\" 			\
+	-DGNOME_SETTINGS_PLUGINDIR=\""$(libdir)/gnome-settings-daemon/plugins"\" \
+	$(WARN_CFLAGS)						\
+	$(DISABLE_DEPRECATED_CFLAGS)				\
+	$(SETTINGS_DAEMON_CFLAGS)				\
 	$(NULL)
 
-libexec_PROGRAMS =			\
-	gnome-settings-daemon		\
+install-exec-local: install-gnome-settings-daemon
+
+uninstall-local:
+	$(RM) $(DESTDIR)$(libexecdir)/gnome-settings-daemon-gnome-settings-daemon
+
+install-gnome-settings-daemon:
+	$(mkinstalldirs) $(DESTDIR)$(libexecdir)/gnome-settings-daemon
+	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) gnome-settings-daemon $(DESTDIR)$(libexecdir)/gnome-settings-daemon
+
+libexec_PROGRAMS = \
+	$(NULL)
+
+noinst_PROGRAMS= \
+	gnome-settings-daemon
 	$(NULL)
 
 gnome-settings-manager-glue.h: gnome-settings-manager.xml Makefile.am
@@ -28,7 +40,7 @@
 Dbusapidir   = $(includedir)/gnome-settings-daemon-2.0/gnome-settings-daemon
 Dbusapi_DATA = gnome-settings-client.h
 
-gnome_settings_daemon_SOURCES =  	\
+gnome_settings_daemon_SOURCES =		\
 	main.c				\
 	gnome-settings-manager.c	\
 	gnome-settings-manager.h	\
@@ -40,11 +52,12 @@
 	gnome-settings-module.h		\
 	$(NULL)
 
-gnome_settings_daemon_CPPFLAGS =	\
+gnome_settings_daemon_CPPFLAGS = \
 	$(AM_CPPFLAGS)			\
 	$(NULL)
 
-gnome_settings_daemon_CFLAGS =		\
+gnome_settings_daemon_CFLAGS = 		\
+	$(AM_CFLAGS)			\
 	$(AM_CFLAGS)			\
 	$(NULL)
 
@@ -64,3 +77,6 @@
 CLEANFILES = 				\
 	$(BUILT_SOURCES)		\
 	$(NULL)
+
+
+# vim: ts=8



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]