mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
By default we require gettext 0.19.6 as this is needed to generate a translated version of gnucash.desktop and gnucash.appdata.xml. However this version is not available on some platforms (most notably our own ubuntu 14.04LTS travis instance). By setting ALLOW_OLD_GETTEXT=ON, the build configuration falls back to generating untranslated versions of said files instead.
21 lines
607 B
Bash
21 lines
607 B
Bash
#!/bin/bash -le
|
|
|
|
#-l above (login shell) so that /etc/profile runs so that perl is
|
|
# on the path.
|
|
|
|
#-e so that if any command has an exit code != 0, this script will
|
|
# exit immediately.
|
|
|
|
# Python is python 3, but gnucash doesn't work with python 3. There
|
|
# doesn't seem to be a way to tell automake to use /usr/bin/python2,
|
|
# so we'll mock this up
|
|
mkdir ourpython_bin
|
|
ln -s /usr/bin/python2 ourpython_bin/python
|
|
export PATH=/ourpython_bin:"$PATH"
|
|
export PLATFORM_CMAKE_OPTS=
|
|
echo path is "$PATH"
|
|
echo python version is "$(python --version)"
|
|
echo PLATFORM_CMAKE_OPTS= "$PLATFORM_CMAKE_OPTS"
|
|
|
|
../commonbuild
|