From f09f72a92b30f57a08e0e4c833b20bd59d1427ba Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 6 Oct 2020 15:35:09 +0200 Subject: [PATCH] docs: add hint about make install-strip and link to Documentation/ Signed-off-by: Karel Zak --- Documentation/howto-compilation.txt | 11 +++++++++-- README | 9 +++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Documentation/howto-compilation.txt b/Documentation/howto-compilation.txt index e106fcf205..6a86b303cc 100644 --- a/Documentation/howto-compilation.txt +++ b/Documentation/howto-compilation.txt @@ -2,8 +2,15 @@ The common case ./autogen.sh && ./configure && make - If something fails read the last lines. Typical reason to - fail is a missing dependency, such as libtool or gettext. + If something fails read the last lines. Typical reason to + fail is a missing dependency, such as libtool or gettext. + + make install-strip + + Note that on the production systems it is strongly recommended to use + "make install-strip" to install binaries and libraries. The result + from the standard "make install" may produce large binaries with + unnecessary symbols. Autotools diff --git a/README b/README index 7f07d7d3ff..f8ede7b843 100644 --- a/README +++ b/README @@ -5,6 +5,10 @@ Note: for the years 2006-2010 this project was named "util-linux-ng". +COMPILE & INSTALL: + + See Documentation/howto-compilation.txt. + MAILING LIST: E-MAIL: util-linux@vger.kernel.org @@ -57,6 +61,11 @@ SOURCE CODE: Download archive: https://www.kernel.org/pub/linux/utils/util-linux/ + See also: + Documentation/howto-contribute.txt + Documentation/howto-build-sys.txt + Documentation/howto-pull-request.txt + SCM (Source Code Management) Repository: Primary repository: -- 2.47.2