[PATCH] change in solenv/bin/ooinstall

Matúš Kukan matus.kukan at gmail.com
Wed Feb 22 01:45:01 PST 2012


Hi Cor,

On 22 February 2012 10:25, Cor Nouws <oolst at nouenoff.nl> wrote:
> was still demanding use of Env.Host.sh

-die "You need to source Env.Host.sh first " if (!defined $ENV{SRC_ROOT});

But then it can't work. You need environment variables defined.
It's just wrong message. Currently it should be something like:

die "You need to run ooinstall through make " if (!defined $ENV{SRC_ROOT});

You now have three options:
make install # will install into $INSTALLDIR defined in config_host.mk
make dev-install -o build # will link into solver/$INPATH/installation
make cmd cmd="ooinstall /foo/bar" # will install wherever you want (or
if you want to link put there also '-l')

So if you need to run custom command with sourced environment you want to use:
make cmd cmd='whatever-you-want-to-run'

HTH,

Matus


More information about the LibreOffice mailing list