r4089 - trunk/varnish-cache/lib/libvarnish

tfheen at projects.linpro.no tfheen at projects.linpro.no
Tue May 26 15:40:00 CEST 2009


Author: tfheen
Date: 2009-05-26 15:40:00 +0200 (Tue, 26 May 2009)
New Revision: 4089

Modified:
   trunk/varnish-cache/lib/libvarnish/Makefile.am
Log:
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).

Modified: trunk/varnish-cache/lib/libvarnish/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnish/Makefile.am	2009-05-25 08:51:27 UTC (rev 4088)
+++ trunk/varnish-cache/lib/libvarnish/Makefile.am	2009-05-26 13:40:00 UTC (rev 4089)
@@ -33,8 +33,8 @@
 
 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 */" ;\



More information about the varnish-commit mailing list