summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 3745513a2bf02a66eb5771257bc849dd718bd318 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
NULL =

msd_gschemas_in = \
	org.mate.applications-at.gschema.xml.in \
	org.mate.font-rendering.gschema.xml.in \
	org.mate.peripherals-keyboard.gschema.xml.in \
	org.mate.peripherals-mouse.gschema.xml.in \
	org.mate.peripherals-smartcard.gschema.xml.in \
	org.mate.peripherals-touchpad.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.a11y-settings.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.background.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.clipboard.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.datetime.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.keybindings.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.keyboard.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.mpris.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.mouse.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.rfkill.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.smartcard.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.sound.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.typing-break.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.xrandr.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.xrdb.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in \
	org.mate.SettingsDaemon.plugins.gschema.xml.in \
	$(NULL)

gsettings_SCHEMAS = $(msd_gschemas_in:.xml.in=.xml)

@GSETTINGS_RULES@

desktopdir = $(sysconfdir)/xdg/autostart
desktop_in_files = mate-settings-daemon.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

$(desktop_DATA): $(desktop_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.SettingsDaemon.service.in
service_DATA = $(service_in_files:.service.in=.service)

org.mate.SettingsDaemon.service: org.mate.SettingsDaemon.service.in Makefile
	$(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

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

man_MANS = \
	mate-settings-daemon.1 \
	msd-datetime-mechanism.1 \
	msd-locate-pointer.1

#disabled until we support it
xmldir = @MATE_KEYBINDINGS_KEYSDIR@
xml_in_files = 50-accessibility.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)

$(xml_DATA): $(xml_in_files)
	$(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

EXTRA_DIST = 				\
	$(msd_gschemas_in)		\
	$(service_in_files)		\
	$(desktop_in_files)		\
	$(xml_in_files)			\
	mate-settings-daemon.pc.in	\
	$(man_MANS)				\
	$(NULL)

DISTCLEANFILES = 			\
	$(gsettings_SCHEMAS)			\
	$(service_DATA)			\
	$(desktop_DATA)			\
	$(xml_DATA)			\
	$(NULL)

MAINTAINERCLEANFILES =			\
	*~				\
	Makefile.in

-include $(top_srcdir)/git.mk