Make.proto
branchjv
changeset 17712 12af4ae96786
parent 17711 39faaaf888b4
child 17714 0d64723fe7f5
--- a/Make.proto	Mon Jun 15 20:55:05 2009 +0100
+++ b/Make.proto	Mon Jun 15 21:36:05 2009 +0100
@@ -75,6 +75,9 @@
 
 # add more preMake actions here
 preMake::
+	sed -i -e \
+		's/"\$$SVN\-Revision:".*"\$$"/"\$$SVN-Revision:"$(shell svn info . | grep Revision | sed -e 's/^Revision: //g')"\$$"/g' \
+		$(subst /,_,$(subst :,_,$(PACKAGE))).st
 
 # add more postMake actions here
 postMake:: cleanjunk