Move the copying of docs that are included in several tarballs into its own function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4362c7052b
commit
b519f7d462
@ -20,4 +20,48 @@ expandlines()
|
||||
uniq < $outputfile > /tmp/uniqtemp.txt
|
||||
mv /tmp/uniqtemp.txt $outputfile
|
||||
done
|
||||
}
|
||||
|
||||
docopydocs()
|
||||
{
|
||||
APPDIR=$1
|
||||
DESTDIR=$2
|
||||
|
||||
cp $APPDIR/docs/readme.txt $DESTDIR/README.txt
|
||||
cp $APPDIR/docs/changes.txt $DESTDIR/CHANGES.txt
|
||||
cp $APPDIR/docs/licence.txt $DESTDIR/LICENCE.txt
|
||||
cp $APPDIR/docs/lgpl.txt $DESTDIR/COPYING.LIB
|
||||
|
||||
cp $APPDIR/docs/changes.txt $DESTDIR/changes-$VERSION.txt
|
||||
cp $APPDIR/docs/readme.txt $DESTDIR/readme-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/msw/readme.txt $DESTDIR/readme-msw-$VERSION.txt
|
||||
cp $APPDIR/docs/msw/install.txt $DESTDIR/install-msw-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/mac/readme.txt $DESTDIR/readme-mac-$VERSION.txt
|
||||
cp $APPDIR/docs/mac/install.txt $DESTDIR/install-mac-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/motif/readme.txt $DESTDIR/readme-motif-$VERSION.txt
|
||||
cp $APPDIR/docs/motif/install.txt $DESTDIR/install-motif-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/gtk/readme.txt $DESTDIR/readme-gtk-$VERSION.txt
|
||||
cp $APPDIR/docs/gtk/install.txt $DESTDIR/install-gtk-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/x11/readme.txt $DESTDIR/readme-x11-$VERSION.txt
|
||||
cp $APPDIR/docs/x11/install.txt $DESTDIR/install-x11-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/mgl/readme.txt $DESTDIR/readme-mgl-$VERSION.txt
|
||||
cp $APPDIR/docs/mgl/install.txt $DESTDIR/install-mgl-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/cocoa/readme.txt $DESTDIR/readme-cocoa-$VERSION.txt
|
||||
cp $APPDIR/docs/cocoa/install.txt $DESTDIR/install-cocoa-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/base/readme.txt $DESTDIR/readme-base-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/os2/install.txt $DESTDIR/install-os2-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/univ/readme.txt $DESTDIR/readme-univ-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/readme_vms.txt $DESTDIR/readme-vms-$VERSION.txt
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user