aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 68cd6626bd62a7752aecc13d89580496fced9bf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 = $(datadir)/dbus-1/services
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|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
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@

@GSETTINGS_RULES@

dist_noinst_DATA = \
	com.canonical.indicator.power.gschema.xml \
	$(gsettings_in_file)

CLEANFILES += \
	$(gsettings_SCHEMAS)

MAINTAINERCLEANFILES = \
	$(gsettings_SCHEMAS:.xml=.valid)