Browse Source

Fixed glibc to only install linuxthreads documentation when we are actually using linuxthreads

early
Alejandro Mery 18 years ago
parent
commit
26f75b5f0f
  1. 30
      base/glibc/glibc.conf

30
base/glibc/glibc.conf

@ -125,23 +125,31 @@ glibc_postmake()
# #
if atstage native; then if atstage native; then
# install locales and linuxthread manpages # install locales
# #
eval $MAKE localedata/install-locales eval $MAKE localedata/install-locales
cp ../localedata/SUPPORTED $root/usr/share/i18n/ cp ../localedata/SUPPORTED $root/usr/share/i18n/
mkdir -p $root/usr/share/man/man3
if [ -f /usr/bin/perl ] ; then if [ "$SDECFG_PKG_GLIBC_TLS" != 1 ]; then
eval $MAKE -C ../linuxthreads/man \ # install linuxthread manpages
MANDIR=$root/usr/share/man/man3 all install #
mkdir -p $root/usr/share/man/man3
if [ -f /usr/bin/perl ]; then
eval $MAKE -C ../linuxthreads/man \
MANDIR=$root/usr/share/man/man3 all install
fi
# copy linuxthreads documentation
#
cp ../linuxthreads/ChangeLog $docdir/ChangeLog.threads
cp ../linuxthreads/Changes $docdir/Changes.threads
cp ../linuxthreads/README $docdir/README.threads
cp ../linuxthreads/FAQ.html $docdir/FAQ-threads.html
cp -r ../linuxthreads/Examples $docdir/examples.threads
fi fi
# copy linuxthreads and crypt documentation # copy crypt documentation
# #
cp ../linuxthreads/ChangeLog $docdir/ChangeLog.threads
cp ../linuxthreads/Changes $docdir/Changes.threads
cp ../linuxthreads/README $docdir/README.threads
cp ../linuxthreads/FAQ.html $docdir/FAQ-threads.html
cp -r ../linuxthreads/Examples $docdir/examples.threads
cp ../crypt/README.ufc-crypt $docdir/README.crypt cp ../crypt/README.ufc-crypt $docdir/README.crypt
# NSCD Init script and config # NSCD Init script and config

Loading…
Cancel
Save