automake: add missing git-version.h dependency

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>
This commit is contained in:
Emil Velikov 2016-07-04 14:57:12 +01:00 committed by Daniel Stone
parent 4ad45caa75
commit a884024eea
1 changed files with 1 additions and 0 deletions

View 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 += \