1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common Wed Oct 19 15:27:32 2011 +1300
1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common Wed Nov 16 10:06:21 2011 +1300
1.3 @@ -303,6 +303,18 @@
1.4 install_root="${CT_SYSROOT_DIR}" \
1.5 install
1.6
1.7 + if [ "${CT_BUILD_MANUALS}" = "y" ]; then
1.8 + CT_DoLog EXTRA "Building and installing the C library manual"
1.9 + # Omit JOBSFLAGS as GLIBC has problems building the
1.10 + # manuals in parallel
1.11 + CT_DoExecLog ALL make pdf html
1.12 + # EGLIBC doesn't have a install-{pdf.html} and leaves the manuals
1.13 + # in the source directory
1.14 + CT_DoExecLog ALL mkdir -p ${CT_PREFIX_DIR}/share/doc
1.15 + CT_DoExecLog ALL cp -av ${src_dir}/manual/*.pdf ${src_dir}/manual/libc \
1.16 + ${CT_PREFIX_DIR}/share/doc
1.17 + fi
1.18 +
1.19 if [ "${CT_LIBC_LOCALES}" = "y" ]; then
1.20 do_libc_locales
1.21 fi