[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: treecc make-zip.sh,NONE,1.1 ChangeLog,1.59,1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: treecc make-zip.sh,NONE,1.1 ChangeLog,1.59,1.60 |
Date: |
Sun, 15 Dec 2002 05:08:34 -0500 |
Update of /cvsroot/dotgnu-pnet/treecc
In directory subversions:/tmp/cvs-serv7190
Modified Files:
ChangeLog
Added Files:
make-zip.sh
Log Message:
Add the "make-zip.sh" script, to assist with building a Win32 binary
.zip file package.
--- NEW FILE ---
#!/bin/sh
#
# make-zip.sh - Make the Windows .zip file package.
#
# Copyright (C) 2002 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
DISTDIR=/tmp/tc$$
# Create the directory structure.
mkdir $DISTDIR
mkdir $DISTDIR/bin
mkdir $DISTDIR/doc
mkdir $DISTDIR/doc/html
# Copy across the various files.
cp -p doc/binary_readme.txt $DISTDIR/Readme.txt
cp -p COPYING $DISTDIR
if test -f "treecc.exe" ; then
cp -p treecc.exe $DISTDIR/bin
else
cp -p treecc $DISTDIR/bin
fi
nroff -man doc/treecc.1 | sed -e '1,$s/.//g' >$DISTDIR/doc/treecc.1
cp -p doc/essay.html $DISTDIR/doc/intro.html
cd doc
sh ./mkhtml $DISTDIR/doc/html
sh ./mkpdf
cp -p treecc.pdf $DISTDIR/doc
cd ..
# Get the version number, to use when creating the zip file.
VERSION=`grep '^AM_INIT_AUTOMAKE' configure.in | \
sed -e '1,$s/^.*treecc, //g' |
sed -e '1,$s/)//g'`
# Zip up the result, being careful to use CRLF for end of lines.
ZIPFILE=`pwd`/../treecc-$VERSION.zip
cd $DISTDIR
rm -f $ZIPFILE
zip -l $ZIPFILE Readme.txt COPYING
zip -gr $ZIPFILE bin
zip -g $ZIPFILE doc doc/treecc.pdf
zip -glr $ZIPFILE doc/treecc.1 doc/intro.html doc/html
echo Result is in $ZIPFILE
# Clean up and exit.
cd /tmp
rm -rf $DISTDIR
exit 0
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/ChangeLog,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** ChangeLog 15 Dec 2002 09:22:25 -0000 1.59
--- ChangeLog 15 Dec 2002 10:08:30 -0000 1.60
***************
*** 22,25 ****
--- 22,28 ----
specification.
+ * make-zip.sh, doc/binary_readme.txt: add the "make-zip.sh"
+ script, to assist with building a Win32 binary .zip file package.
+
2002-11-24 Gopal V <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: treecc make-zip.sh,NONE,1.1 ChangeLog,1.59,1.60,
Rhys Weatherley <address@hidden> <=