1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-22 16:52:02 +01:00

initial commit

This commit is contained in:
2013-05-01 09:35:30 -04:00
parent b1bd865e62
commit 30c8c2e205
283 changed files with 71204 additions and 67 deletions

22
build.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
PREFIX=`cat Makefile | grep '^prefix =' | awk '{print $3}'`
case $1 in
'')
echo '-- building...'
make -j3
echo '-- installing...'
make uninstall 1>/dev/null
make install 1>/dev/null
if [[ `basename \`pwd\`` == "latan" ]]
then
echo '-- creating debug symbols...'
dsymutil .libs/liblatan.0.dylib -o ${PREFIX}/lib/liblatan.0.dylib.dSYM
fi;;
'clean')
echo '-- cleaning...'
make -j3 clean;;
*)
echo 'error: unknown action' 1>&2
exit 1;;
esac