aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGyörgy Balló <ballogy@freestart.hu>2011-11-23 07:59:47 +0100
committerGyörgy Balló <ballogy@freestart.hu>2011-11-23 07:59:47 +0100
commit78e082682d5d833fd271899b67d6a203acffa803 (patch)
tree4abe1c6a2e6bb3414356f846086a8f18b9919c33 /data
parentba87e5cb673992cee0fcb0bb3c90523974836a30 (diff)
downloadayatana-indicator-datetime-78e082682d5d833fd271899b67d6a203acffa803.tar.gz
ayatana-indicator-datetime-78e082682d5d833fd271899b67d6a203acffa803.tar.bz2
ayatana-indicator-datetime-78e082682d5d833fd271899b67d6a203acffa803.zip
Make Control Center panel optional
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am16
1 files changed, 11 insertions, 5 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index b9a9532..6b7fe0f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,17 +10,23 @@ dbus_services_DATA = indicator-datetime.service
%.service: %.service.in
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+EXTRA_DIST = \
+ $(gsettings_SCHEMAS) \
+ indicator-datetime.service.in
+
+CLEANFILES = indicator-datetime.service
+
+if BUILD_CCPANEL
pkgdata_DATA = datetime-dialog.ui
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_DATA = indicator-datetime-preferences.desktop
-EXTRA_DIST = \
- $(gsettings_SCHEMAS) \
+EXTRA_DIST += \
datetime-dialog.ui \
indicator-datetime-preferences.desktop \
- indicator-datetime-preferences.desktop.in \
- indicator-datetime.service.in
+ indicator-datetime-preferences.desktop.in
-CLEANFILES = indicator-datetime-preferences.desktop indicator-datetime.service
+CLEANFILES += indicator-datetime-preferences.desktop
+endif