This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#!/bin/sh |
| 2 |
set -e |
| 3 |
export PATH=/opt/qt4-mendeley/bin:$PATH |
| 4 |
echo "BINDIR=/usr/bin" > install.pri |
| 5 |
case $(uname -m) in |
| 6 |
"x86_64") |
| 7 |
echo "LIBDIR=/usr/lib64" >> install.pri |
| 8 |
;; |
| 9 |
*) |
| 10 |
echo "LIBDIR=/usr/lib" >> install.pri |
| 11 |
esac |
| 12 |
EXTRA= |
| 13 |
if [ $(uname -s) = "Darwin" ]; then |
| 14 |
EXTRA="-spec macx-g++" |
| 15 |
fi |
| 16 |
DIRECTORY=$(dirname "$0") |
| 17 |
if ! qmake "${DIRECTORY}"/*.pro $EXTRA; then |
| 18 |
qmake-qt4 "${DIRECTORY}"/*.pro $EXTRA |
| 19 |
fi |