aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 66c576fac32220105c59a58cb4c692f74b974b69 (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
51
52
53
54
55
56
57
58
59
60
61
62
# This file will be processed with automake to create Makefile.in

SUBDIRS = icons

##############################
# Bonobo .server
##############################

serverdir =					\
	$(libdir)/bonobo/servers
server_in_files =				\
	GNOME_IndicatorApplet.server.in
server_DATA =					\
	$(server_in_files:.server.in=.server)

$(server_in_files): $(server_in_files:.server.in=.server.in.in)
	sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" -e "s|\@VERSION\@|$(VERSION)|" $< > $@

@INTLTOOL_SERVER_RULE@


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

schemadir =					\
	$(GCONF_SCHEMA_FILE_DIR)

schema_in_files =				\
	indicator-applet.schemas.in

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

@INTLTOOL_SCHEMAS_RULE@


##############################
# Autojunk
##############################

CLEANFILES =					\
	$(server_in_files)			\
	$(server_DATA)				\
	$(schema_DATA)				\
	*.bak

EXTRA_DIST =					\
	GNOME_IndicatorApplet.server.in.in	\
	$(schema_in_files)

MAINTAINERCLEANFILES =				\
	Makefile.in

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