aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-11-29 16:19:34 -0600
committerTed Gould <ted@gould.cx>2011-11-29 16:19:34 -0600
commit77699eb5a22ed5da6b008368486121e9ef7fc4e0 (patch)
tree775c03375ff3bb04e7482b123459c1acf899d9a4 /data/Makefile.am
parentdba878e3338b85c6c3e121b738448f687941e03e (diff)
parentb3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c (diff)
downloadayatana-indicator-session-77699eb5a22ed5da6b008368486121e9ef7fc4e0.tar.gz
ayatana-indicator-session-77699eb5a22ed5da6b008368486121e9ef7fc4e0.tar.bz2
ayatana-indicator-session-77699eb5a22ed5da6b008368486121e9ef7fc4e0.zip
Making the gtk logout helper and apt optional build time choices
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am20
1 files changed, 12 insertions, 8 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7e851a7..3b8de1f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,6 +18,15 @@ gsettings_SCHEMAS = com.canonical.indicator.session.gschema.xml
convertdir = $(datadir)/GConf/gsettings
dist_convert_DATA = indicator-session.convert
+EXTRA_DIST = \
+ $(service_in_files) \
+ $(gsettings_SCHEMAS:.xml=.xml.in)
+
+CLEANFILES = \
+ $(dbus_services_DATA) \
+ $(gsettings_SCHEMAS)
+
+if BUILD_GTKLOGOUTHELPER
@INTLTOOL_DESKTOP_RULE@
%.desktop.in: %.desktop.in.in
@@ -37,14 +46,9 @@ logout_helper_desktop_files = \
$(logout_helper_desktop_in_in_files:.desktop.in.in=.desktop)
logout_helper_DATA = $(logout_helper_desktop_files)
-EXTRA_DIST = \
- $(service_in_files) \
- $(gsettings_SCHEMAS:.xml=.xml.in) \
+EXTRA_DIST += \
$(logout_helper_desktop_in_in_files)
-
-CLEANFILES = \
- $(dbus_services_DATA) \
- $(gsettings_SCHEMAS) \
+CLEANFILES += \
$(logout_helper_desktop_files)
-
+endif