mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
Added extra command line option to allow debug builds to be packaged into a DMG.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user