aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-18 01:05:53 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-18 01:05:53 -0500
commitd1d65249d12ca309a3df7fac7614b866372b072f (patch)
tree50d650a489e3bb66f8f490b452d56f8149f63302 /data
parent1d015b51af186c0f71ff8164321feeef1cf63c19 (diff)
downloadayatana-indicator-datetime-d1d65249d12ca309a3df7fac7614b866372b072f.tar.gz
ayatana-indicator-datetime-d1d65249d12ca309a3df7fac7614b866372b072f.tar.bz2
ayatana-indicator-datetime-d1d65249d12ca309a3df7fac7614b866372b072f.zip
rename the indicator bus file as 'com.canonical.indicator.datetime'; add it to data/Makefile
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am63
-rw-r--r--data/com.canonical.indicator.datetime (renamed from data/datetime.indicator)0
2 files changed, 37 insertions, 26 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6d4dd72..e0019e6 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,34 +1,45 @@
-#SUBDIRS = icons
+BUILT_SOURCES=
+CLEANFILES=
+EXTRA_DIST=
-gsettings_SCHEMAS = \
- com.canonical.indicator.datetime.gschema.xml
-@GSETTINGS_RULES@
+#
+# the indicator bus file
+#
-dbus_servicesdir = $(DBUSSERVICEDIR)
-dbus_services_DATA = indicator-datetime.service
+indicatorsdir = $(prefix)/share/unity/indicators
+indicators_DATA = com.canonical.indicator.datetime
-%.service: %.service.in
- sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+#
+# the gsettings
+#
-EXTRA_DIST = \
- $(gsettings_SCHEMAS) \
- indicator-datetime.service.in
+gsettings_SCHEMAS = com.canonical.indicator.datetime.gschema.xml
+@GSETTINGS_RULES@
+EXTRA_DIST += $(gsettings_SCHEMAS)
-CLEANFILES = indicator-datetime.service
+#
+# the dbus service file
+#
+dbus_servicesdir = $(DBUSSERVICEDIR)
+dbus_services_DATA = indicator-datetime.service
+dbus_services_in = $(dbus_services_DATA:.service=.service.in)
+$(dbus_services_DATA): $(dbus_services_in)
+ $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+BUILT_SOURCES += $(dbus_services_DATA)
+CLEANFILES += $(dbus_services_DATA)
+EXTRA_DIST += $(dbus_services_in)
+
+#
+# the gnome-control-center panel
+#
+
+EXTRA_DIST += datetime-dialog.ui
if BUILD_CCPANEL
-pkgdata_DATA = datetime-dialog.ui
-
-@INTLTOOL_DESKTOP_RULE@
-desktopdir = $(datadir)/applications
-desktop_DATA = indicator-datetime-preferences.desktop
-
-EXTRA_DIST += \
- indicator-datetime-preferences.desktop
-
-CLEANFILES += indicator-datetime-preferences.desktop
+ pkgdata_DATA = datetime-dialog.ui
+ @INTLTOOL_DESKTOP_RULE@
+ desktopdir = $(datadir)/applications
+ desktop_DATA = indicator-datetime-preferences.desktop
+ EXTRA_DIST += $(desktop_DATA) $(desktop_DATA:.desktop=.desktop.in)
+ CLEANFILES += $(desktop_DATA)
endif
-
-EXTRA_DIST += \
- datetime-dialog.ui \
- indicator-datetime-preferences.desktop.in
diff --git a/data/datetime.indicator b/data/com.canonical.indicator.datetime
index 055ea8e..055ea8e 100644
--- a/data/datetime.indicator
+++ b/data/com.canonical.indicator.datetime