Update of /cvsroot/mahogany/M/extra/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv24098/extra/scripts

Modified Files:
        makeMtgz 
Log Message:
removed makeversion.in; the version info is only in include/Mversion.h now

Index: makeMtgz
===================================================================
RCS file: /cvsroot/mahogany/M/extra/scripts/makeMtgz,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- makeMtgz    7 Jan 2002 19:27:35 -0000       1.2
+++ makeMtgz    28 Jul 2003 20:32:03 -0000      1.3
@@ -9,5 +9,6 @@
 
 # change the configuration by editing these vars
-CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/mahogany
+#CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/mahogany
[EMAIL PROTECTED]:/cvsroot/mahogany
 TMPDIR=/tmp/makeMtgz-$$
 
@@ -41,5 +42,6 @@
 
 # extract version info from the source tree
-eval `grep "M_VERSION_M\(AJ\|IN\)OR=" M/makeversion.in`
+eval `grep "^#define M_VERSION_[MR]" $src/include/Mversion.h | \
+           sed 's/^#define \+\(\w\+\) \+\([0-9]\+\)/\1=\2/'`
 
 # and create the approproately named output file



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to