Commit 07384f36 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Quieten git/svn/make a bit harder.


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