[llvm-commits] [llvm-gcc-4-2] r39804 - /llvm-gcc-4-2/trunk/build_gcc
Duncan Sands
baldrick at free.fr
Fri Jul 13 04:25:00 PDT 2007
Author: baldrick
Date: Fri Jul 13 06:24:59 2007
New Revision: 39804
URL: http://llvm.org/viewvc/llvm-project?rev=39804&view=rev
Log:
Correct the directory that the man pages are installed into.
Modified:
llvm-gcc-4-2/trunk/build_gcc
Modified: llvm-gcc-4-2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4-2/trunk/build_gcc?rev=39804&r1=39803&r2=39804&view=diff
==============================================================================
--- llvm-gcc-4-2/trunk/build_gcc (original)
+++ llvm-gcc-4-2/trunk/build_gcc Fri Jul 13 06:24:59 2007
@@ -155,7 +155,7 @@
CONFIGFLAGS="--disable-checking --enable-werror \
--prefix=$DEST_ROOT \
- --mandir=$DEST_ROOT/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 \
@@ -352,9 +352,9 @@
cp -Rp $DIR/obj-$BUILD-$BUILD/gcc/HTML/* ".$HTMLDIR/" || exit 1
# Manual pages
-mkdir -p .$DEST_ROOT/share || exit 1
+mkdir -p .$LLVM_INSTALL_PREFIX/share || exit 1
# LLVM LOCAL 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
# exclude fsf-funding.7 gfdl.7 gpl.7 as they are currently built in
# the gcc project
@@ -477,7 +477,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