~ps-jenkins/indicator-bluetooth/trusty-proposed

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Tarmac
  • Author(s): Charles Kerr
  • Date: 2013-12-18 16:11:32 UTC
  • mfrom: (76.2.4 upstart-job)
  • Revision ID: tarmac-20131218161132-3l7v71r7eg3tx6r4
Switching DBus service to an Upstart Job.

Approved by Iain Lane, PS Jenkins bot, Ted Gould.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
BUILT_SOURCES =
 
2
EXTRA_DIST =
 
3
CLEANFILES =
1
4
 
2
5
# the indicator bus file
3
6
indicatorsdir = $(datadir)/unity/indicators
4
7
dist_indicators_DATA = com.canonical.indicator.bluetooth
5
8
 
6
 
# the dbus service file
7
 
dbus_servicesdir = $(datadir)/dbus-1/services
8
 
dbus_services_DATA = indicator-bluetooth.service
9
 
 
10
 
%.service: %.service.in
11
 
        sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
12
 
 
 
9
# the upstart job file
 
10
upstart_jobsdir = $(datadir)/upstart/sessions
 
11
upstart_jobs_DATA = indicator-bluetooth.conf
 
12
upstart_jobs_in = $(upstart_jobs_DATA:.conf=.conf.in)
 
13
$(upstart_jobs_DATA): $(upstart_jobs_in)
 
14
        $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
 
15
BUILT_SOURCES += $(upstart_jobs_DATA)
 
16
EXTRA_DIST += $(upstart_jobs_in)
 
17
CLEANFILES += $(upstart_jobs_DATA)
 
18
 
 
19
# the upstart version of the xdg autostart job file
 
20
# see https://code.launchpad.net/~charlesk/indicator-bluetooth/upstart-job/+merge/198100
 
21
upstart_xdg_autostartdir = $(datadir)/upstart/xdg/autostart
 
22
upstart_xdg_autostart_DATA = indicator-bluetooth.desktop
 
23
upstart_xdg_autostart_in = indicator-bluetooth.upstart.desktop.in
 
24
$(upstart_xdg_autostart_DATA): $(upstart_xdg_autostart_in)
 
25
        $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
 
26
BUILT_SOURCES += $(upstart_xdg_autostart_DATA)
 
27
EXTRA_DIST += $(upstart_xdg_autostart_in)
 
28
CLEANFILES += $(upstart_xdg_autostart_DATA)
 
29
 
 
30
# the xdg autostart job file
 
31
xdg_autostartdir = /etc/xdg/autostart
 
32
xdg_autostart_DATA = indicator-bluetooth.desktop
 
33
xdg_autostart_in = $(xdg_autostart_DATA:.desktop=.desktop.in)
 
34
$(xdg_autostart_DATA): $(xdg_autostart_in)
 
35
        $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
 
36
BUILT_SOURCES += $(xdg_autostart_DATA)
 
37
EXTRA_DIST += $(xdg_autostart_in)
 
38
CLEANFILES += $(xdg_autostart_DATA)
 
39
 
 
40
# the gsettings schema
13
41
gsettings_SCHEMAS = com.canonical.indicator.bluetooth.gschema.xml
14
42
@INTLTOOL_XML_NOMERGE_RULE@
15
43
@GSETTINGS_RULES@
16
44
 
17
 
EXTRA_DIST = \
18
 
  indicator-bluetooth.service.in \
19
 
  com.canonical.indicator.bluetooth.gschema.xml.in
 
45
EXTRA_DIST += \
 
46
  com.canonical.indicator.bluetooth.gschema.xml.in \
 
47
  indicator-bluetooth.conf.in \
 
48
  indicator-bluetooth.desktop.in \
 
49
  indicator-bluetooth.upstart.desktop.in
20
50
 
21
 
CLEANFILES = \
 
51
CLEANFILES += \
22
52
  $(dbus_services_DATA) \
23
53
  $(gsettings_SCHEMAS)