aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 6171aaf0e5ed5dc4321a3ca80819cfdaab23e037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
servicedir = $(DBUS_SERVICE_DIR)
dist_service_DATA = indicator-keyboard.service

indicator-keyboard.service:
	$(AM_V_GEN) (echo '[D-BUS Service]';                                           \
	             echo 'Name=com.canonical.indicator.keyboard';                     \
	             echo 'Exec=${libexecdir}/indicator-keyboard-service') > $@.tmp && \
	            mv $@.tmp $@

indicatordir = $(INDICATOR_DIR)
dist_indicator_DATA = indicator-keyboard.indicator

indicator-keyboard.indicator:
	$(AM_V_GEN) (echo '[Indicator Service]';                                      \
	             echo 'Name=indicator-keyboard';                                  \
	             echo 'BusName=com.canonical.indicator.keyboard';                 \
	             echo 'ObjectPath=/com/canonical/indicator/keyboard') > $@.tmp && \
	            mv $@.tmp $@

EXTRA_DIST = $(dist_service_DATA) $(dist_indicator_DATA)