summaryrefslogtreecommitdiff
path: root/tools/windows_packaging/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/windows_packaging/package.sh')
-rwxr-xr-xtools/windows_packaging/package.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/tools/windows_packaging/package.sh b/tools/windows_packaging/package.sh
index 92f55e8906..dd1ec88119 100755
--- a/tools/windows_packaging/package.sh
+++ b/tools/windows_packaging/package.sh
@@ -54,6 +54,8 @@ mkdir -p $PACKAGE_DIR/lib/pango/1.6.0/modules
cp -r $MINGW_ROOT/lib/pango/1.6.0/modules/*.dll $PACKAGE_DIR/lib/pango/1.6.0/modules
cp $TOOLS_DIR/pango.modules $PACKAGE_DIR/etc/pango
+cp $TOOLS_DIR/README $PACKAGE_DIR
+
DLLS='
jack-0.dll
jackserver-0.dll
@@ -144,7 +146,7 @@ libs/timecode
libs/audiographer
'
-if test x$DEBUG != x ; then
+if [ x$DEBUG = xT ]; then
PACKAGE_SRC_DIR=$PACKAGE_DIR/src
echo "Copying source files to $PACKAGE_SRC_DIR ..."
@@ -158,20 +160,21 @@ if test x$DEBUG != x ; then
echo "Copying JACK utility programs to $PACKAGE_DIR ..."
cp $MINGW_ROOT/bin/jack_*.exe $PACKAGE_DIR
- echo "Copying any debug files to $PACKAGE_DIR ..."
- cp $MINGW_ROOT/bin/*.debug $PACKAGE_DIR
+ #echo "Copying any debug files to $PACKAGE_DIR ..."
+ #cp $MINGW_ROOT/bin/*.debug $PACKAGE_DIR
- echo "Copying gdb to $PACKAGE_DIR ..."
+ echo "Copying gdb and config files to $PACKAGE_DIR ..."
cp $MINGW_ROOT/bin/gdb.exe $PACKAGE_DIR
-
- echo "Copying .gdbinit to $PACKAGE_DIR ..."
cp $TOOLS_DIR/gdbinit $PACKAGE_DIR/.gdbinit
+ cp $TOOLS_DIR/gdbinit_home $PACKAGE_DIR/gdbinit_home
+ cp $TOOLS_DIR/gdb.bat $PACKAGE_DIR/gdb.bat
+ cp $TOOLS_DIR/gdb-ardour.bat $PACKAGE_DIR/gdb-ardour.bat
echo "Copying Gtk demo to $PACKAGE_DIR ..."
cp $MINGW_ROOT/bin/gtk-demo.exe $PACKAGE_DIR
else
echo "Optimized build Stripping executable ..."
- $STRIP $PACKAGE_DIR/ardour-3.0.exe
+ find $PACKAGE_DIR -type f -name "*.exe*" | xargs $STRIP
echo "Stripping libraries ..."
find $PACKAGE_DIR -type f -name "*.dll*" | xargs $STRIP
fi