From: Emil Velikov <[email protected]>

compositor/main.c depends on the header, while the dependency isn't
specified. Thus depending on the order of how things are build we could
get a build failure.

Signed-off-by: Emil Velikov <[email protected]>
---
Strictly speaking one could resolve this (and future) issue, by not
pushing everything from BUILT_SOURCES into CLEANFILES, but I'll leave
that to someone more familiar with why things are as is.
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index 60d3bc1..b050c60 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -160,6 +160,7 @@ weston_SOURCES =                                    \
 # add BUILT_SOURCES to CLEANFILES, but we want to keep git-version.h
 # in case we're building from tarballs.
 
+compositor/main.c : $(top_builddir)/libweston/git-version.h
 libweston/compositor.c : $(top_builddir)/libweston/git-version.h
 
 noinst_LTLIBRARIES +=                          \
-- 
2.8.2

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to