changeset 4322:e960a507509d

Define build stamp as "UNSUPPORTED VERSION" if building out of hg-repo.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Mar 2008 20:19:15 +0200
parents f2e6df94fddc
children 360c934b9330
files src/audacious/Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Sat Mar 08 22:32:53 2008 +0100
+++ b/src/audacious/Makefile	Tue Mar 11 20:19:15 2008 +0200
@@ -188,6 +188,8 @@
 	if [ -d ../../.hg ]; then \
 		revh=`hg tip --template 'const char *svn_stamp = "#rev#:#node|short#";\n' 2>/dev/null`; \
 		[ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \
+	else \
+		echo "const char *svn_stamp = \"UNSUPPORTED VERSION\";" > build_stamp.c; \
 	fi
 
 DBUS_BINDINGS_SOURCES = objects.xml		\