changeset 3591:74d1f0c78456 trunk

Fix generation of build_stamp.c.
author Jonathan Schleifer <js@h3c.de>
date Fri, 21 Sep 2007 18:13:08 +0200
parents f104e23b87da
children f69ae126bb47
files src/audacious/Makefile
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Fri Sep 21 15:22:51 2007 +0200
+++ b/src/audacious/Makefile	Fri Sep 21 18:13:08 2007 +0200
@@ -155,6 +155,8 @@
        ui/playlist.ui				\
        ui/carbon-menubar.ui
 
+CLEAN = build_stamp.c
+
 include ../../buildsys.mk
 
 LDFLAGS += ${EXPORTDYN}
@@ -166,7 +168,7 @@
 LIBS += -L../libaudclient -laudclient
 endif
 
-pre-depend: ${DBUS_BINDINGS}
+pre-depend: build_stamp.c ${DBUS_BINDINGS}
 
 CPPFLAGS += -DHAVE_CONFIG_H		\
 	    ${MOWGLI_CFLAGS}		\
@@ -198,11 +200,6 @@
 		[ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \
 	fi
 
-clean-hook:
-	if [ -d ../../.hg ]; then \
-		rm -f build_stamp.c; \
-	fi
-
 DBUS_BINDINGS_SOURCES = objects.xml		\
 			mpris_root.xml		\
 			mpris_tracklist.xml	\