changeset 2837:b6b8fe38e1e3 trunk

Fix handling of buildstamp rule.
author William Pitcock <nenolod@atheme.org>
date Fri, 15 Jun 2007 12:21:25 -0500
parents 7035e35d4067
children 6a980c061b5d
files src/audacious/Makefile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Fri Jun 15 12:16:34 2007 -0500
+++ b/src/audacious/Makefile	Fri Jun 15 12:21:25 2007 -0500
@@ -127,9 +127,10 @@
 endif
 
 depend-prehook: $(DBUS_BINDINGS)
-	if [ -d .hg ]; then \
-		revh=`hg tip --template 'const char *svn_stamp = "#rev#:#node|short#"\n' 2>/dev/null`; \
+	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; \
+		printf "%10s     %-20s\n" STAMP "build_stamp.c"; \
 	fi
 
 DBUS_BINDINGS_SOURCES = \