build: Move data/Makefile.am into Makefile.am
[profile/ivi/weston-ivi-shell.git] / Makefile.am
1 if BUILD_WCAP_TOOLS
2 wcap_subdir = wcap
3 endif
4
5 if ENABLE_XWAYLAND
6 xwayland_subdir = xwayland
7 endif
8
9 SUBDIRS =                                       \
10         shared                                  \
11         src                                     \
12         $(xwayland_subdir)                      \
13         desktop-shell                           \
14         clients                                 \
15         protocol                                \
16         tests                                   \
17         $(wcap_subdir)                          \
18         man
19
20 DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install
21
22 EXTRA_DIST = weston.ini.in wayland-scanner.mk
23
24 weston.ini : $(srcdir)/weston.ini.in
25         $(AM_V_GEN)$(SED) \
26                 -e 's|@bindir[@]|$(bindir)|g' \
27                 -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
28                 -e 's|@libexecdir[@]|$(libexecdir)|g' \
29                 $< > $@
30
31 all-local : weston.ini
32
33 CLEANFILES = weston.ini
34
35
36 westondatadir = $(datadir)/weston
37 dist_westondata_DATA =                          \
38         data/wayland.svg                        \
39         data/wayland.png                        \
40         data/pattern.png                        \
41         data/terminal.png                       \
42         data/border.png                         \
43         data/icon_window.png                    \
44         data/sign_close.png                     \
45         data/sign_maximize.png                  \
46         data/sign_minimize.png