diff options
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 375c7ca..c2ce65d 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,6 +1,34 @@ +BUILT_SOURCES= +CLEANFILES= +EXTRA_DIST= + +# +# the indicator bus file +# + +indicatorsdir = $(prefix)/share/unity/indicators +dist_indicators_DATA = com.canonical.indicator.power + +# +# the dbus service file +# + +dbus_servicesdir = $(DBUSSERVICEDIR) +dbus_services_DATA = indicator-power.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 gettings +# gsettings_in_file = com.canonical.indicator.power.gschema.xml.in gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml) +CLEANFILES += $(gsettings_SCHEMAS) @INTLTOOL_XML_NOMERGE_RULE@ @@ -10,7 +38,7 @@ dist_noinst_DATA = \ com.canonical.indicator.power.gschema.xml \ $(gsettings_in_file) -CLEANFILES = \ +CLEANFILES += \ $(gsettings_SCHEMAS) MAINTAINERCLEANFILES = \ |