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

Use $$(...) rather than $(shell ...) for non-GNU makes

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4014 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 9d5cc196
......@@ -33,8 +33,8 @@ libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM}
DISTCLEANFILES = svn_version.c
svn_version.c: FORCE
V="$(shell git log -n 1 --pretty=format:%h || svnversion -n $(top_srcdir))" \
H="$(shell head -n 1 svn_version.c || true)"; \
V="$$(git log -n 1 --pretty=format:%h || svnversion -n $(top_srcdir))" \
H="$$(head -n 1 svn_version.c || 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