Author: benm
Date: 2005-06-14 17:29:10 -0400 (Tue, 14 Jun 2005)
New Revision: 45992
Modified:
trunk/mono/ChangeLog
trunk/mono/configure.in
Log:
* configure.in: echo the version number to
mcs/build/common/MonoVersion.cs. This allows us to not need to
update AssemblyInfo.cs every time we bump the version number.
Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog 2005-06-14 21:22:30 UTC (rev 45991)
+++ trunk/mono/ChangeLog 2005-06-14 21:29:10 UTC (rev 45992)
@@ -1,5 +1,9 @@
2005-06-14 Ben Maurer <[EMAIL PROTECTED]>
+ * configure.in: echo the version number to
+ mcs/build/common/MonoVersion.cs. This allows us to not need to
+ update AssemblyInfo.cs every time we bump the version number.
+
* mono-uninstalled.pc.in: pc file that handles mono when it is not
installed. This lets us have mkbundle work inside the tree.
Modified: trunk/mono/configure.in
===================================================================
--- trunk/mono/configure.in 2005-06-14 21:22:30 UTC (rev 45991)
+++ trunk/mono/configure.in 2005-06-14 21:29:10 UTC (rev 45992)
@@ -1782,6 +1782,19 @@
echo "RUNTIME = $mono_build_root/runtime/mono-wrapper" >>
$srcdir/$mcsdir/build/config.make
echo "ILDISASM = $mono_build_root/runtime/monodis-wrapper" >>
$srcdir/$mcsdir/build/config.make
echo "INSTALL = $INSTALL" >> $srcdir/$mcsdir/build/config.make
+
+ IFS=". "
+ # make sure it has 0's on the end
+ vsplit=( $VERSION 0 0 0 0 )
+ unset IFS
+
+ cat > $srcdir/$mcsdir/build/common/MonoVersion.cs <<EOF
+//
+// This version number is generated from configure.in in the mono source tree.
+//
+
+[[assembly:
AssemblyVersion("${vsplit[0]}.${vsplit[1]}.${vsplit[2]}.${vsplit[3]}")]]
+EOF
)
libgdiplus_msg=${libgdiplus_loc:-assumed to be installed}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches