Mercurial > audlegacy
diff src/audacious/Makefile @ 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 | e55ecfc55d06 |
children | ac1f6d211223 |
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 \