As discussed with Julian, the new release system will use a new directory so that we are more free to make changes, and also so we can re-organize files and remove old files. This is still a work in progress!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-03-02 20:23:54 +00:00
parent 5eef2b35e3
commit 03a2668fed
57 changed files with 6233 additions and 0 deletions

23
distrib/scripts/utils.inc Normal file
View File

@@ -0,0 +1,23 @@
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
# So if we need to (not in this script so far) we do something like this instead:
# expandlines $SRC/setup/files.rsp temp.txt
# zip -@ `$CYGPATHPROG -w $DEST/archive.zip` < temp.txt
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ "$line" != "" ]; then
ls $line >> $outputfile
fi
uniq < $outputfile > /tmp/uniqtemp.txt
mv /tmp/uniqtemp.txt $outputfile
done
}