Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Cleanup Build Script
Browse files Browse the repository at this point in the history
  • Loading branch information
prikhi committed May 29, 2015
1 parent 88cb7f1 commit 297f135
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ mac() {
mkdir $OUTPUT

cp -R ./Mac/* $OUTPUT/

mkdir -p $OUTPUT/Pencil.app/Contents/Resources/
cp -R ./Outputs/Pencil/* $_
cp -RL $OUTPUT/XUL.framework/Versions/Current/* $OUTPUT/Pencil.app/Contents/MacOS/
cp -RL $OUTPUT/XUL.framework/Versions/Current/* $OUTPUT/Pencil.app/Contents/MacOS/
mv $OUTPUT/Pencil.app/Contents/MacOS/dependentlibs.list $OUTPUT/Pencil.app/Contents/Resources/dependentlibs.list
cp ./Outputs/Pencil/application.ini $OUTPUT/Pencil.app/Contents/Resources/application.ini

Expand Down Expand Up @@ -278,15 +278,14 @@ clean() {
}

maintainer_clean() {

if [ -d 'Win32/xulrunner' ]; then
echo "Removing the Windows copy of XULRunner..."
rm -Rf ./Win32/xulrunner
echo "Removing the Windows copy of XULRunner..."
rm -Rf ./Win32/xulrunner
fi

if [ -d 'Mac/XUL.framework' ]; then
echo "Removing the Mac copy of XULRunner..."
rm -Rf ./Mac/XUL.framework
echo "Removing the Mac copy of XULRunner..."
rm -Rf ./Mac/XUL.framework
fi
clean
}
Expand Down

0 comments on commit 297f135

Please sign in to comment.