Commit ec97bf09 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Quiet the build process if we don't have git

Make sure to quiet the build process a bit, if we don't have git (or
this is not a git checkout).

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4089 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c3b8a9a4
......@@ -33,8 +33,8 @@ libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM}
DISTCLEANFILES = svn_version.c
svn_version.c: FORCE
V="$$(git log -n 1 --pretty=format:%h || svnversion -n $(top_srcdir))" \
H="$$(head -n 1 svn_version.c || true)"; \
V="$$(git log -n 1 --pretty=format:%h 2>/dev/null || svnversion -n $(top_srcdir))" \
H="$$(head -n 1 svn_version.c 2>/dev/null || true)"; \
if [ "/* $$V */" != "$$H" ]; then \
( \
echo "/* $$V */" ;\
......
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