Makefile.am 1.07 KB
Newer Older
1
SUBDIRS = icons themes keyboards
Daiki Ueno's avatar
Daiki Ueno committed
2

3 4 5 6 7
@GSETTINGS_RULES@
@INTLTOOL_XML_NOMERGE_RULE@
gsettings_schemas_in_files = org.fedorahosted.eekboard.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_schemas_in_files:.gschema.xml.in=.gschema.xml)

8 9 10 11 12 13 14
servicedir       = $(datadir)/dbus-1/services
service_in_files = eekboard-server.service.in
service_DATA     = $(service_in_files:.service.in=.service)

$(service_DATA): $(service_in_files) Makefile
	$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@

Daiki Ueno's avatar
Daiki Ueno committed
15 16
desktopdir = $(datadir)/applications
desktop_in_files = eekboard.desktop.in
17
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
Daiki Ueno's avatar
Daiki Ueno committed
18 19 20 21 22 23 24

if ENABLE_ATSPI
autostartdir	 = $(sysconfdir)/xdg/autostart
autostart_in_files = eekboard-autostart.desktop.in
autostart_DATA   = $(autostart_in_files:.desktop.in=.desktop)
endif

Daiki Ueno's avatar
Daiki Ueno committed
25
@INTLTOOL_DESKTOP_RULE@
26

27 28
CLEANFILES = $(service_DATA) $(desktop_DATA) $(gsettings_SCHEMAS)
EXTRA_DIST = $(service_in_files) $(desktop_in_files) $(gsettings_schemas_in_files)
Daiki Ueno's avatar
Daiki Ueno committed
29 30 31 32 33 34

if ENABLE_ATSPI
CLEANFILES += $(autostart_DATA)
EXTRA_DIST += $(autostart_in_files)
endif

Daiki Ueno's avatar
Daiki Ueno committed
35
-include $(top_srcdir)/git.mk