changeset 2465:890f503325bb trunk

[svn] - remove build-stamp autogen crap from Makefile
author nenolod
date Thu, 01 Feb 2007 11:06:26 -0800
parents baf223ec5417
children 57cdc3d9b056
files ChangeLog src/audacious/Makefile
diffstat 2 files changed, 8 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Feb 01 11:05:54 2007 -0800
+++ b/ChangeLog	Thu Feb 01 11:06:26 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-01 19:05:54 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3938]
+  - add build_stamp.c so that it can be autogenerated
+  
+  trunk/src/audacious/build_stamp.c |    6 ++++++
+  1 file changed, 6 insertions(+)
+
+
 2007-02-01 18:29:27 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [3936]
   - re-add support for gtkrc files
--- a/src/audacious/Makefile	Thu Feb 01 11:05:54 2007 -0800
+++ b/src/audacious/Makefile	Thu Feb 01 11:06:26 2007 -0800
@@ -103,27 +103,6 @@
 desktop_DATA = audacious.desktop
 desktopdir = $(datadir)/applications
 
-build-prehook:
-	if [ -d .svn ] && [ -f build_stamp.c ]; then		\
-		rm -f build_stamp.c;				\
-		printf "%10s     %-20s\n" RM build_stamp.c;	\
-	fi
-
-build_stamp.c:
-	if [ -d .svn ] && [ ! -f build_stamp.c ]; then		\
-		( \
-			echo '/* SVN repository version.'; \
-			echo ' * This auto-generated file must not be included in SVN; but must'; \
-			echo ' * be included in release tarballs.'; \
-			echo ' */'; \
-			echo '#include <glib.h>'; \
-			echo -n 'const gchar *svn_stamp = "'; \
-			(svnversion -n .); \
-			echo '";' \
-		) > build_stamp.c; \
-		printf "%10s     %-20s\n" STAMP build_stamp.c;	\
-	fi;
-
 audacious: $(OBJECTS) widgets/libwidgets.a
 	$(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ 
 	@printf "%10s     %-20s\n" LINK $@