summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: f22c5429d6a4367ec0edaf8d448a3b24b864401a (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
if BUILD_WCAP_TOOLS
wcap_subdir = wcap
endif

if ENABLE_XWAYLAND
xwayland_subdir = xwayland
endif

SUBDIRS =					\
	shared					\
	src					\
	$(xwayland_subdir)			\
	desktop-shell				\
	clients					\
	data					\
	protocol				\
	tests					\
	$(wcap_subdir)				\
	man

DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install

EXTRA_DIST = weston.ini.in wayland-scanner.mk

weston.ini : $(srcdir)/weston.ini.in
	$(AM_V_GEN)$(SED) \
		-e 's|@bindir[@]|$(bindir)|g' \
		-e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
		-e 's|@libexecdir[@]|$(libexecdir)|g' \
		$< > $@

all-local : weston.ini

CLEANFILES = weston.ini