[llvm-commits] [129250] Correct the directory that the man pages are installed into.
bwendlin at apple.com
bwendlin at apple.com
Fri Jul 6 16:56:10 PDT 2007
Revision: 129250
Author: bwendlin
Date: 2007-07-06 16:56:09 -0700 (Fri, 06 Jul 2007)
Log Message:
-----------
Correct the directory that the man pages are installed into.
Modified Paths:
--------------
apple-local/branches/llvm/build_gcc
Modified: apple-local/branches/llvm/build_gcc
===================================================================
--- apple-local/branches/llvm/build_gcc 2007-07-06 22:09:56 UTC (rev 129249)
+++ apple-local/branches/llvm/build_gcc 2007-07-06 23:56:09 UTC (rev 129250)
@@ -162,7 +162,7 @@
CONFIGFLAGS="--disable-checking --enable-werror \
--prefix=$DEST_ROOT \
- --mandir=$DEST_DIR$LLVM_INSTALL_PREFIX/share/man \
+ --mandir=$LLVM_INSTALL_PREFIX/share/man \
--enable-languages=c,objc,c++,obj-c++ \
--program-transform-name=/^[cg][^.-]*$/s/$/-$MAJ_VERS/ \
$LIBSTDCXX_CONFIG_OPTION \
@@ -358,9 +358,9 @@
fi
# Manual pages
-mkdir -p .$DEST_ROOT/share || exit 1
+mkdir -p .$LLVM_INSTALL_PREFIX/share || exit 1
# APPLE LOCAL LLVM build_gcc bug with non-/usr $DEST_ROOT
-cp -Rp $DIR/dst-$BUILD-$BUILD/$DEST_ROOT/share/man .$DEST_ROOT/share/ \
+cp -Rp $DIR/dst-$BUILD-$BUILD$LLVM_INSTALL_PREFIX/share/man .$LLVM_INSTALL_PREFIX/share/ \
|| exit 1
# libexec
@@ -486,7 +486,7 @@
done
# Add extra man page symlinks for 'c++' and for arch-specific names.
-MDIR=$DEST_DIR$DEST_ROOT/share/man/man1
+MDIR=$DEST_DIR$LLVM_INSTALL_PREFIX/share/man/man1
ln -f $MDIR/g++-$MAJ_VERS.1 $MDIR/c++-$MAJ_VERS.1 || exit 1
for t in $TARGETS ; do
ln -f $MDIR/gcc-$MAJ_VERS.1 $MDIR/$t-apple-darwin$DARWIN_VERS-gcc-$VERS.1 \
More information about the llvm-commits
mailing list