summaryrefslogtreecommitdiff
path: root/charpick/Makefile.am
blob: bcdbeea599776740348a4cf7a03c963470913458 (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
SUBDIRS = help

INCLUDES = -I. -I$(srcdir) 				\
	$(GNOME_APPLETS_CFLAGS)	$(GUCHARMAP_CFLAGS)	\
	-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"


libexec_PROGRAMS = charpick_applet2

charpick_applet2_SOURCES = charpick.c \
                          charpick.h \
                          properties.c

charpick_applet2_LDADD = \
		       $(GNOME_APPLETS_LIBS)	\
		       $(GUCHARMAP_LIBS)

charpickbitmapsdir = $(datadir)/icons/hicolor/48x48/apps
charpickbitmaps_DATA = charpick.png

serverdir       = $(libdir)/bonobo/servers
server_in_files = GNOME_CharpickerApplet.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)|" $< > $@

CLEANFILES = $(server_in_files) $(server_DATA)

@INTLTOOL_SERVER_RULE@

schemasdir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = charpick.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)

@INTLTOOL_SCHEMAS_RULE@
uidir = $(datadir)/gnome-2.0/ui
ui_DATA = GNOME_CharpickerApplet.xml

EXTRA_DIST =					\
	charpick.png				\
	GNOME_CharpickerApplet.server.in.in	\
	$(ui_DATA)				\
	$(schemas_in_files)

if GCONF_SCHEMAS_INSTALL
install-data-local:
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
endif