aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 7e851a70b0d485ffd713a6c54ea51ab284b1ebc1 (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
46
47
48
49
50
SUBDIRS = \
	icons \
	extra-sessions

dbus_servicesdir = $(DBUSSERVICEDIR)
service_in_files =  indicator-session.service.in
dbus_services_DATA = $(service_in_files:.service.in=.service)

%.service: %.service.in
	sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

@INTLTOOL_SCHEMAS_RULE@
@INTLTOOL_XML_NOMERGE_RULE@

@GSETTINGS_RULES@
gsettings_SCHEMAS = com.canonical.indicator.session.gschema.xml

convertdir = $(datadir)/GConf/gsettings
dist_convert_DATA = indicator-session.convert

@INTLTOOL_DESKTOP_RULE@

%.desktop.in: %.desktop.in.in
	sed \
		-e "s|\@libexecdir\@|$(libexecdir)|" \
		-e "s|\@bindir\@|$(bindir)|" \
		$< > $@

logout_helper_desktop_in_in_files = \
	indicator-session-lock-screen.desktop.in.in \
	indicator-session-logout.desktop.in.in \
	indicator-session-restart.desktop.in.in \
	indicator-session-shutdown.desktop.in.in

logout_helperdir = $(datadir)/applications
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) \
	$(logout_helper_desktop_in_in_files)


CLEANFILES =					\
	$(dbus_services_DATA)			\
	$(gsettings_SCHEMAS) \
	$(logout_helper_desktop_files)