automake: add missing git-version.h dependency
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 4 Jul 2016 13:57:12 +0000 (14:57 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 22 Jul 2016 15:16:19 +0000 (16:16 +0100)
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@collabora.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Makefile.am

index 237de60..6d26dce 100644 (file)
@@ -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 +=                          \