comparison 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
comparison
equal deleted inserted replaced
4321:f2e6df94fddc 4322:e960a507509d
186 186
187 build_stamp.c: 187 build_stamp.c:
188 if [ -d ../../.hg ]; then \ 188 if [ -d ../../.hg ]; then \
189 revh=`hg tip --template 'const char *svn_stamp = "#rev#:#node|short#";\n' 2>/dev/null`; \ 189 revh=`hg tip --template 'const char *svn_stamp = "#rev#:#node|short#";\n' 2>/dev/null`; \
190 [ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \ 190 [ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \
191 else \
192 echo "const char *svn_stamp = \"UNSUPPORTED VERSION\";" > build_stamp.c; \
191 fi 193 fi
192 194
193 DBUS_BINDINGS_SOURCES = objects.xml \ 195 DBUS_BINDINGS_SOURCES = objects.xml \
194 mpris_root.xml \ 196 mpris_root.xml \
195 mpris_tracklist.xml \ 197 mpris_tracklist.xml \