aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: a545ec028a4d1246c4357b11b24723d92ac2242e (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
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)|" $< > $@

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)