mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-29 14:48:39 +02:00
Added extra command line option to allow debug builds to be packaged into a DMG.
This commit is contained in:
parent
b5e09a975e
commit
cb51df5633
@ -6,6 +6,7 @@
|
|||||||
#
|
#
|
||||||
SUFFIX=$1
|
SUFFIX=$1
|
||||||
TYPE=$2
|
TYPE=$2
|
||||||
|
DEBUG=$3
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
VERSION=`awk '/^#define+ AUDACITY_VERSION / {print $3}' src/Audacity.h`
|
VERSION=`awk '/^#define+ AUDACITY_VERSION / {print $3}' src/Audacity.h`
|
||||||
@ -37,7 +38,12 @@ mkdir "$DMG"
|
|||||||
SUBDIRS="Audacity.app Languages nyquist plug-ins"
|
SUBDIRS="Audacity.app Languages nyquist plug-ins"
|
||||||
for SUBDIR in $SUBDIRS
|
for SUBDIR in $SUBDIRS
|
||||||
do
|
do
|
||||||
|
if [ -z "$DEBUG" ]
|
||||||
|
then
|
||||||
cp -pR "mac/build/Release Static/$SUBDIR" "$DMG"
|
cp -pR "mac/build/Release Static/$SUBDIR" "$DMG"
|
||||||
|
else
|
||||||
|
cp -pR "mac/build/Debug Static/$SUBDIR" "$DMG"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Strip binary
|
# Strip binary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user