r4014 - trunk/varnish-cache/lib/libvarnish

tfheen at projects.linpro.no tfheen at projects.linpro.no
Wed Apr 1 13:04:44 CEST 2009


Author: tfheen
Date: 2009-04-01 13:04:43 +0200 (Wed, 01 Apr 2009)
New Revision: 4014

Modified:
   trunk/varnish-cache/lib/libvarnish/Makefile.am
Log:
Use $$(...) rather than $(shell ...) for non-GNU makes

Modified: trunk/varnish-cache/lib/libvarnish/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnish/Makefile.am	2009-03-31 07:44:56 UTC (rev 4013)
+++ trunk/varnish-cache/lib/libvarnish/Makefile.am	2009-04-01 11:04:43 UTC (rev 4014)
@@ -33,8 +33,8 @@
 
 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 */" ;\



More information about the varnish-commit mailing list