Tweaks to Mac OS X build script to run
This commit is contained in:
+4
-9
@@ -12,17 +12,12 @@ then
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CONFIG_ARGS=--prefix=`pwd`/macosx/prefix
|
./configure --prefix=`pwd`/macosx/prefix
|
||||||
|
|
||||||
if [ -f config.log ];
|
|
||||||
then
|
|
||||||
grep -e "$CONFIG_ARGS" config.log > /dev/null || ./configure "$CONFIG_ARGS"
|
|
||||||
else
|
|
||||||
./configure "$CONFIG_ARGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
make install -j8
|
make install -j8
|
||||||
|
|
||||||
|
perl -wlpi -e 's{#!/usr/bin/env perl}{#!/usr/bin/perl}' `pwd`/macosx/prefix/bin/mosh
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
echo "Preprocessing package description..."
|
echo "Preprocessing package description..."
|
||||||
@@ -44,7 +39,7 @@ done
|
|||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
echo "Running PackageMaker..."
|
echo "Running PackageMaker..."
|
||||||
/Applications/PackageMaker.app/Contents/MacOS/PackageMaker -d mosh-package.pmdoc -o "$OUTFILE"
|
PackageMaker -d mosh-package.pmdoc -o "$OUTFILE"
|
||||||
|
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
rm -r "$OUTDIR"
|
rm -r "$OUTDIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user