Hanno Meyer-Thurow píše v St 20. 04. 2011 v 16:08 +0200:
On Wed, 20 Apr 2011 15:43:07 +0200
Petr Mladek <pmladek@suse.cz> wrote:
I did some changes. I made the "libreoffice" dirname configurable by
--with-install-dirname option. Also I defined prefix, exec_prefix,
libdir values in Makefile.in.
The result is that the installation path is "/usr/local/lib/libreoffice"
instead of "/libreoffice"
I hope that my changes are fine for you.
They are perfectly fine for me. I just found a micro-optimization.
Instead of hard-wiring 'INSTALL_DIRNAME=libreoffice' I would prefer
it to be 'INSTALL_DIRNAME=$AC_PACKAGE_NAME', which is
generated by AC_INIT at the top of configure.in.
Great idea. I have done the change, see
http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?h=libreoffice-3-4&id=6326baaba7534667c95c6cc8aac6287bb140580e
Though, $AC_PACKAGE_NAME would have uppercase letters. Is there any
posix function to lower-case that macro?
"tr [[:upper:]] [[:lower:]]" did the job. It should be cross-platform.
BTW: AC_PACKAGE_NAME is a macro and not a variable, so I needed to avoid
the dolar sign ;-)
Best Regards,
Petr
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.