dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[Dotgnu-pnet-commits] CVS: ml-pnet copy-mcs.sh,NONE,1.1 ChangeLog,1.11,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: ml-pnet copy-mcs.sh,NONE,1.1 ChangeLog,1.11,1.12
Date: Tue, 17 Jun 2003 01:24:53 -0400

Update of /cvsroot/dotgnu-pnet/ml-pnet
In directory subversions:/tmp/cvs-serv32094

Modified Files:
        ChangeLog 
Added Files:
        copy-mcs.sh 
Log Message:


Add a helper script for copying the mcs sources into a release tarball.


--- NEW FILE ---
#!/bin/sh
#
# copy-mcs.sh - Copy the mcs sources for use in a release tarball.
#
# Copyright (C) 2003  Southern Storm Software, Pty Ltd.
#
# 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

if test -z "$1" ; then
        echo "Usage: $0 mcs-location" 1>&2
        exit 1
fi
if test ! -f "$1/class/library.make" ; then
        echo "Could not fine mcs in the specified directory" 1>&2
        exit 1
fi
MCS_SOURCES="$1"

mkdir mcs-sources
mkdir mcs-sources/class
mkdir mcs-sources/class/corlib
mkdir mcs-sources/class/corlib/System
mkdir mcs-sources/tools

cp -p "$MCS_SOURCES/class/library.make" mcs-sources/class/library.make
cp -p "$MCS_SOURCES/class/corlib/System/TODOAttribute.cs" 
mcs-sources/class/corlib/System/TODOAttribute.cs
cp -pr "$MCS_SOURCES/tools/SqlSharp" mcs-sources/tools

for dir in Custommarshalers \
                  System.EnterpriseServices \
                  System.Configuration.Install \
                  System.Management \
                  System.Messaging \
                  System.ServiceProcess \
                  System.Runtime.Serialization.Formatters.Soap \
                  PEAPI \
                  ICSharpCode.SharpZipLib \
                  Mono.Data.Tds \
                  System.Data \
                  Mono.Data.PostgreSqlClient \
                  Mono.Data.MySql \
                  ByteFX.Data \
                  Npgsql \
                  Mono.Data.DB2Client \
                  System.Data.OracleClient \
                  Mono.Directory.LDAP \
                  Mono.GetOptions \
                  Mono.Posix ; do

        cp -pr "$MCS_SOURCES/class/$dir" "mcs-sources/class/$dir"

done

find mcs-sources -name CVS -print | xargs rm -rf

exit 0

Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/ml-pnet/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** ChangeLog   17 Jun 2003 05:03:16 -0000      1.11
--- ChangeLog   17 Jun 2003 05:24:50 -0000      1.12
***************
*** 5,8 ****
--- 5,11 ----
        we have the mcs sources in the local directory.
  
+       * copy-mcs.sh: add a helper script for copying the mcs sources
+       into a release tarball.
+ 
  2003-06-01  Gopal.V  <address@hidden>
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]