Index: trunk/magic/remove/src/Makefile.am
===================================================================
--- trunk/magic/remove/src/Makefile.am	(revision 34089)
+++ trunk/magic/remove/src/Makefile.am	(revision 38034)
@@ -1,21 +1,7 @@
-if HAVE_SVNVERSION
-STREAKS_VERSION=`$(SVNVERSION) ..`
-else
-STREAKS_VERSION="UNKNOWN"
-endif
-
-if HAVE_SVN
-STREAKS_BRANCH=`$(SVN) info .. | $(SED) -n -e '/URL:/ h' -e '/Repository Root:/ { x; H; x; s|Repository Root: \(.*\)\nURL: \1\(.*\)|\2| ; s|^/|| ; s|/[a-zA-Z]*/src.*|| ; p }'`
-STREAKS_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`
-else
-STREAKS_BRANCH="UNKNOWN"
-STREAKS_SOURCE="UNKNOWN"
-endif
 
 # Force recompilation of streaksVersion.c, since it gets the version information
 streaksVersion.c: streaksVersionDefinitions.h
 streaksVersionDefinitions.h: streaksVersionDefinitions.h.in FORCE
-	-$(RM) streaksVersionDefinitions.h
-	$(SED) -e "s|@STREAKS_VERSION@|\"$(STREAKS_VERSION)\"|" -e "s|@STREAKS_BRANCH@|\"$(STREAKS_BRANCH)\"|" -e "s|@STREAKS_SOURCE@|\"$(STREAKS_SOURCE)\"|" streaksVersionDefinitions.h.in > streaksVersionDefinitions.h
+	pslib-setsvnversion.pl STREAKS streaksVersionDefinitions.h.in streaksVersionDefinitions.h
 FORCE: ;
 
