1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Added extra command line option to allow debug builds to be packaged into a DMG.

This commit is contained in:
prlivesey 2010-04-25 10:44:22 +00:00
parent b5e09a975e
commit cb51df5633

View File

@ -6,6 +6,7 @@
#
SUFFIX=$1
TYPE=$2
DEBUG=$3
# Setup
VERSION=`awk '/^#define+ AUDACITY_VERSION / {print $3}' src/Audacity.h`
@ -37,7 +38,12 @@ mkdir "$DMG"
SUBDIRS="Audacity.app Languages nyquist plug-ins"
for SUBDIR in $SUBDIRS
do
cp -pR "mac/build/Release Static/$SUBDIR" "$DMG"
if [ -z "$DEBUG" ]
then
cp -pR "mac/build/Release Static/$SUBDIR" "$DMG"
else
cp -pR "mac/build/Debug Static/$SUBDIR" "$DMG"
fi
done
# Strip binary