]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/utils.inc
Fix for assert in setting image from file by Jaakko Salli.
[wxWidgets.git] / distrib / scripts / utils.inc
index 03730b2b86d31ab98ff26e60f7da70673b6145c5..3a7df72c2f5169306f68262226117b2fcf40ea53 100644 (file)
@@ -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
+
 }
\ No newline at end of file