[longomatch] Use autotools to set the package version in AssemblyInfo.cs



commit 92bddefff27d3527a7beb9b7554fa21c6db6a8dd
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Sep 17 17:46:14 2009 +0200

    Use autotools to set the package version in AssemblyInfo.cs

 CesarPlayer/AssemblyInfo.cs.in |   50 +++++++++++++++++++++++++++++++++++++++
 CesarPlayer/Makefile.am        |    3 +-
 LongoMatch/AssemblyInfo.cs.in  |   51 ++++++++++++++++++++++++++++++++++++++++
 LongoMatch/Makefile.am         |    3 +-
 configure.ac                   |    4 +-
 5 files changed, 107 insertions(+), 4 deletions(-)
---
diff --git a/CesarPlayer/AssemblyInfo.cs.in b/CesarPlayer/AssemblyInfo.cs.in
new file mode 100644
index 0000000..1443104
--- /dev/null
+++ b/CesarPlayer/AssemblyInfo.cs.in
@@ -0,0 +1,50 @@
+//  Copyright(C) 2007-2009 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+// 
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+//
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// Information about this assembly is defined by the following
+// attributes.
+//
+// change them to the information which is associated with the assembly
+// you compile.
+
+[assembly: AssemblyTitle("CesarPlayer")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("Andoni Morales Alastruey")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// The assembly version has following format :
+//
+// Major.Minor.Build.Revision
+//
+// You can specify all values by your own or you can build default build and revision
+// numbers with the '*' character (the default):
+
+[assembly: AssemblyVersion("@PACKAGE_VERSION@")]
+
+// The following attributes specify the key for the sign of your assembly. See the
+// .NET Framework documentation for more information about signing.
+// This is not required, if you don't want signing let these attributes like they're.
+//[assembly: AssemblyDelaySign(false)]
+//[assembly: AssemblyKeyFile("cesarplayer.key")]
diff --git a/CesarPlayer/Makefile.am b/CesarPlayer/Makefile.am
index 0177289..1a3cc9a 100644
--- a/CesarPlayer/Makefile.am
+++ b/CesarPlayer/Makefile.am
@@ -102,7 +102,8 @@ RESOURCES = \
 	gtk-gui/gui.stetic 
 
 EXTRAS = \
-	cesarplayer.key 
+	cesarplayer.key\
+	AssemblyInfo.cs.in
 
 REFERENCES =  \
 	System \
diff --git a/LongoMatch/AssemblyInfo.cs.in b/LongoMatch/AssemblyInfo.cs.in
new file mode 100644
index 0000000..3cbc26b
--- /dev/null
+++ b/LongoMatch/AssemblyInfo.cs.in
@@ -0,0 +1,51 @@
+//
+//  Copyright (C) 2007-2009 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+// 
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+//
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// Information about this assembly is defined by the following
+// attributes.
+//
+// change them to the information which is associated with the assembly
+// you compile.
+
+[assembly: AssemblyTitle("LongoMatch")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("Andoni Morales Alastruey")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// The assembly version has following format :
+//
+// Major.Minor.Build.Revision
+//
+// You can specify all values by your own or you can build default build and revision
+// numbers with the '*' character (the default):
+
+[assembly: AssemblyVersion("@PACKAGE_VERSION@")]
+
+// The following attributes specify the key for the sign of your assembly. See the
+// .NET Framework documentation for more information about signing.
+// This is not required, if you don't want signing let these attributes like they're.
+[assembly: AssemblyDelaySign(false)]
+[assembly: AssemblyKeyFile("")]
diff --git a/LongoMatch/Makefile.am b/LongoMatch/Makefile.am
index 0ef2596..2de599e 100644
--- a/LongoMatch/Makefile.am
+++ b/LongoMatch/Makefile.am
@@ -208,7 +208,8 @@ EXTRAS = \
 	images/background.png\
 	images/logo_48x48.png \
 	longomatch.desktop\
-	longomatch.in 
+	longomatch.in\
+	AssemblyInfo.cs.in
 
 REFERENCES =  \
 	Mono.Posix \
diff --git a/configure.ac b/configure.ac
index db26ebe..9be1b47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,8 +114,8 @@ libcesarplayer/src/Makefile
 Makefile
 CesarPlayer/cesarplayer.pc
 LongoMatch/longomatch
-
-
+LongoMatch/AssemblyInfo.cs
+CesarPlayer/AssemblyInfo.cs
 ])
 
 AC_OUTPUT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]