[PATCH weston 2/2] automake: add missing git-version.h dependency
Emil Velikov
emil.l.velikov at gmail.com
Mon Jul 4 13:57:12 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
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 <emil.velikov at collabora.com>
---
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
More information about the wayland-devel
mailing list