<<< Date Index >>>     <<< Thread Index >>>

Re: Bug report: make install does not respect prefix for doc



Please use configure's --with-docdir parameter to indicate where
documentation is supposed to go.
-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.





On 2003-08-29 04:07:16 +0100, Steven Murdoch wrote:
> From: Steven Murdoch <mutt+sjm217@xxxxxxxxxxxx>
> To: mutt-dev@xxxxxxxx
> Date: Fri, 29 Aug 2003 04:07:16 +0100
> Subject: Bug report: make install does not respect prefix for doc
> Mail-Followup-To: Steven Murdoch <mutt+sjm217@xxxxxxxxxxxx>,
>       mutt-dev@xxxxxxxx
> X-Spam-Level: 
> 
> 
> For installing applications using Stow 
> (http://www.gnu.org/software/stow/stow.html) it is necessary to 
> provide ./configure with a different "prefix" form that given to 
> install. Then stow makes symlinks from the ./configure target to the 
> make install target.
> 
> However mutt 1.4.1i does not fully respect the make install prefix, 
> so will install the doc directory in the incorrect place, since 
> configure seems to hard-code the prefix it is given to be the 
> doc install directory. Other directories seem to work properly.
> 
> For example:
> sjm217@solway:mutt-1.4.1 719$ uname -a
> Linux solway.cl.cam.ac.uk 2.4.19-3cl #1 SMP Mon Nov 4 12:20:37 GMT 2002 i686 
> i686 i386 GNU/Linux
> sjm217@solway:mutt-1.4.1 719$ ./configure 
> --prefix=/local/scratch/sjm217/build/local --with-homespool=.mail
> [snip]
> sjm217@solway:mutt-1.4.1 719$ make install 
> prefix=/local/scratch/sjm217/build/local2
> [snip]
> sjm217@solway:mutt-1.4.1 721$ ls /local/scratch/sjm217/build/local
> doc
> sjm217@solway:mutt-1.4.1 722$ ls /local/scratch/sjm217/build/local2
> bin  etc  man  share
> 
> So while bin, etc, man and share have been installed in the correct 
> place, doc has not.
> 
> This seems to be because in the Makefile, the docdir variable has 
> been hard-coded by ./configure, where with other locations, ./configure
> has made them relative to ${prefix}
> 
> I have temporarily fixed this by passing docdir and prefix to make 
> install but a full solution would include making docdir relative to 
> prefix in the Makefiles.
> 
> Thank you,
> Steven Murdoch.
>