diff options
author | Johannes Stezenbach <js@sig21.net> | 2012-10-22 03:32:28 +0000 |
---|---|---|
committer | Johannes Stezenbach <js@sig21.net> | 2012-10-22 03:32:28 +0000 |
commit | b8baed585d8efed6c42fd7036fbbc4f586588a90 (patch) | |
tree | 861d08d65c797c1451b2cb0c0f829ee57fb79992 | |
parent | 3a7e81925b7ebf35d13b6df4e98ff518d25faade (diff) | |
download | crosstool-ng-b8baed585d8efed6c42fd7036fbbc4f586588a90.tar.gz crosstool-ng-b8baed585d8efed6c42fd7036fbbc4f586588a90.tar.bz2 crosstool-ng-b8baed585d8efed6c42fd7036fbbc4f586588a90.zip |
fix eglibc-2.16 manual build
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121022133228.GA16536@sig21.net>
Patchwork-Id: 193156
-rw-r--r-- | scripts/build/libc/glibc-eglibc.sh-common | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common index b2dec4ac..5871e6a7 100644 --- a/scripts/build/libc/glibc-eglibc.sh-common +++ b/scripts/build/libc/glibc-eglibc.sh-common @@ -453,11 +453,16 @@ do_libc_backend_once() { # Omit JOBSFLAGS as GLIBC has problems building the # manuals in parallel CT_DoExecLog ALL make pdf html - # EGLIBC doesn't have a install-{pdf.html} and leaves the manuals - # in the source directory + # EGLIBC doesn't have a install-{pdf.html}, and older + # versions leave the manuals in the source directory CT_DoExecLog ALL mkdir -p ${CT_PREFIX_DIR}/share/doc - CT_DoExecLog ALL cp -av ${src_dir}/manual/*.pdf ${src_dir}/manual/libc \ - ${CT_PREFIX_DIR}/share/doc + if [ ${CT_LIBC_EGLIBC_2_16_or_later} = "y" ]; then + CT_DoExecLog ALL cp -av manual/*.pdf manual/libc \ + ${CT_PREFIX_DIR}/share/doc + else + CT_DoExecLog ALL cp -av ${src_dir}/manual/*.pdf ${src_dir}/manual/libc \ + ${CT_PREFIX_DIR}/share/doc + fi fi if [ "${CT_LIBC_LOCALES}" = "y" ]; then |