[gnome-control-center] datetime: Don't run gdbus command twice
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] datetime: Don't run gdbus command twice
- Date: Mon, 23 Jan 2012 13:52:49 +0000 (UTC)
commit dc92ae2fe86636f7ecf608f8c72f1de7f216a13f
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 23 13:51:18 2012 +0000
datetime: Don't run gdbus command twice
panels/datetime/Makefile.am | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/panels/datetime/Makefile.am b/panels/datetime/Makefile.am
index 2c822ca..65ee027 100644
--- a/panels/datetime/Makefile.am
+++ b/panels/datetime/Makefile.am
@@ -110,7 +110,8 @@ ccpanels_LTLIBRARIES = libdate_time.la
# > timedated1-interface.xml
dbus_built_sources = timedated.c timedated.h
-$(dbus_built_sources) : Makefile.am timedated1-interface.xml
+timedated.c: timedated.h
+timedated.h: Makefile.am timedated1-interface.xml
gdbus-codegen \
--interface-prefix org.freedesktop. \
--generate-c-code timedated \
@@ -155,4 +156,6 @@ EXTRA_DIST = \
timedated1-interface.xml \
$(polkit_in_files)
+BUILT_SOURCES = $(dbus_built_sources)
+
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]