llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Documentation path is weird

Open llvmbot opened this issue 16 years ago • 5 comments

Bugzilla Link 6267
Resolution FIXED
Resolved on Mar 01, 2010 23:17
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @echristo,@pwo

Extended Description

LLVM wants to install documents into ${prefix}/docs/llvm. That's unorthodox, the rest of the world uses ${prefix}/doc/projectname.

llvmbot avatar Feb 09 '10 22:02 llvmbot

Fixed with this commit:

[ghostwheel:~/sources/llvm] echristo% svn ci configure autoconf/configure.ac Sending autoconf/configure.ac Sending configure Transmitting file data .. Committed revision 97549.

Thanks!

echristo avatar Mar 02 '10 07:03 echristo

$PREFIX/doc ? On FreeBSD it's $PREFIX/share/doc

pwo avatar Feb 11 '10 00:02 pwo

Well, you can't change configure directly, but that's easy enough to fix. Any objections in general Chris?

echristo avatar Feb 09 '10 23:02 echristo

A better patch:

$ svn diff Index: configure

--- configure (revision 95688) +++ configure (working copy) @@ -19605,7 +19605,7 @@ eval LLVM_BINDIR="${prefix}/bin"; eval LLVM_LIBDIR="${prefix}/lib"; eval LLVM_DATADIR="${prefix}/share/llvm"; -eval LLVM_DOCSDIR="${prefix}/docs/llvm"; +eval LLVM_DOCSDIR="${prefix}/share/doc/llvm"; eval LLVM_ETCDIR="${prefix}/etc/llvm"; eval LLVM_INCLUDEDIR="${prefix}/include"; eval LLVM_INFODIR="${prefix}/info"; Index: autoconf/configure.ac

--- autoconf/configure.ac (revision 95688) +++ autoconf/configure.ac (working copy) @@ -1275,7 +1275,7 @@ eval LLVM_BINDIR="${prefix}/bin"; eval LLVM_LIBDIR="${prefix}/lib"; eval LLVM_DATADIR="${prefix}/share/llvm"; -eval LLVM_DOCSDIR="${prefix}/docs/llvm"; +eval LLVM_DOCSDIR="${prefix}/share/doc/llvm"; eval LLVM_ETCDIR="${prefix}/etc/llvm"; eval LLVM_INCLUDEDIR="${prefix}/include"; eval LLVM_INFODIR="${prefix}/info";

llvmbot avatar Feb 09 '10 23:02 llvmbot

$ svn diff Index: configure

--- configure (revision 95688) +++ configure (working copy) @@ -19605,7 +19605,7 @@ eval LLVM_BINDIR="${prefix}/bin"; eval LLVM_LIBDIR="${prefix}/lib"; eval LLVM_DATADIR="${prefix}/share/llvm"; -eval LLVM_DOCSDIR="${prefix}/docs/llvm"; +eval LLVM_DOCSDIR="${prefix}/doc/llvm"; eval LLVM_ETCDIR="${prefix}/etc/llvm"; eval LLVM_INCLUDEDIR="${prefix}/include"; eval LLVM_INFODIR="${prefix}/info"; Index: autoconf/configure.ac

--- autoconf/configure.ac (revision 95688) +++ autoconf/configure.ac (working copy) @@ -1275,7 +1275,7 @@ eval LLVM_BINDIR="${prefix}/bin"; eval LLVM_LIBDIR="${prefix}/lib"; eval LLVM_DATADIR="${prefix}/share/llvm"; -eval LLVM_DOCSDIR="${prefix}/docs/llvm"; +eval LLVM_DOCSDIR="${prefix}/doc/llvm"; eval LLVM_ETCDIR="${prefix}/etc/llvm"; eval LLVM_INCLUDEDIR="${prefix}/include"; eval LLVM_INFODIR="${prefix}/info";

llvmbot avatar Feb 09 '10 22:02 llvmbot