aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 70ea880d197bb620606d4cca2d7ceca956f498fc (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
SUBDIRS = icons

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

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

##############################
# GConf Schema
##############################

schemadir =					\
	$(GCONF_SCHEMA_FILE_DIR)

schema_in_files =				\
	indicator-session.schemas.in

schema_DATA =					\
	$(schema_in_files:.schemas.in=.schemas)

@INTLTOOL_SCHEMAS_RULE@


#$(dbus_services_DATA): $(service_in_files) Makefile
#	sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

EXTRA_DIST =					\
	$(service_in_files)			\
	$(schema_in_files)

CLEANFILES =					\
	$(dbus_services_DATA)			\
	$(schema_DATA)

if GCONF_SCHEMAS_INSTALL
install-data-local:
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
		gconftool-2 --makefile-install-rule $(schema_DATA)
else
install-data-local:
endif