Commit 6d95f94a authored by Tollef Fog Heen's avatar Tollef Fog Heen

Mark vcs_version.h as a BUILT_SOURCE

This should work around build problems

Also mark vcs_version.h as a maintainer built file, not a
configure-built file.
parent ed48ef91
......@@ -33,9 +33,8 @@ libvarnish_la_SOURCES = \
libvarnish_la_CFLAGS = -DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"'
libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM} @PCRE_LIBS@
version.o: vcs_version.h
DISTCLEANFILES = vcs_version.h
BUILT_SOURCES = vcs_version.h
MAINTAINERCLEANFILES = vcs_version.h
vcs_version.h: FORCE
if [ -d "$(top_srcdir)/.git" ]; then \
V="$$(git describe --always)" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment