summaryrefslogtreecommitdiff
path: root/capplets/keybindings/Makefile.am
blob: e5efb109def09f513b02c31ae0ec79d3a736771c (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
# This is used in MATECC_CAPPLETS_CFLAGS
cappletname = keybinding

bin_PROGRAMS = mate-keybinding-properties

mate_keybinding_properties_LDADD = $(MATECC_CAPPLETS_LIBS)
mate_keybinding_properties_SOURCES = \
	mate-keybinding-properties.c \
	eggcellrendererkeys.c \
	eggcellrendererkeys.h \
	eggaccelerators.c \
	eggaccelerators.h

@INTLTOOL_DESKTOP_RULE@

uidir = $(pkgdatadir)/ui
ui_DATA = mate-keybinding-properties.ui

desktopdir = $(datadir)/applications
Desktop_in_files = mate-keybinding.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)

@INTLTOOL_XML_NOMERGE_RULE@

xmldir = $(pkgdatadir)/keybindings
xml_in_files = 00-multimedia-key.xml.in 01-desktop-key.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mate-keybindings.pc

AM_CPPFLAGS = \
	$(MATECC_CAPPLETS_CFLAGS) \
	-DMATELOCALEDIR="\"$(datadir)/locale\"" \
	-DMATECC_DATA_DIR="\"$(pkgdatadir)\"" \
	-DMATECC_UI_DIR="\"$(uidir)\"" \
	-DMATECC_KEYBINDINGS_DIR="\"$(pkgdatadir)/keybindings\""
CLEANFILES = \
	$(MATECC_CAPPLETS_CLEANFILES) \
	$(desktop_DATA) \
	$(xml_DATA)
EXTRA_DIST = $(ui_DATA) $(xml_in_files) mate-keybindings.pc.in $(Desktop_in_files)


-include $(top_srcdir)/git.mk