Hi Ralph,

On Wed, Sep 24 2014 at 09:31:00 AM, Ralph Corderoy <ra...@inputplus.co.uk> 
wrote:
> Hi Bertrand,
>
>> 'make distcheck' will attempt to make a tarball, untar it, build it
>> (in out-of-source tree style), clean it, check it, install it and
>> uninstall it. 
>>
>> You can use DESTDIR to make the install/uninstall in an ordinary
>> directory, e.g.:
>>   mkdir ~/tmp
>>   make distcheck DESTDIR=~/tmp/
>
> I'm very surprised that the `install' run as part of `distcheck' wants
> to install in the default central location and not a temporary
> directory.  No one would seriously want the install run in that manner
> to do that?  It's not how I recall distcheck working.  Is this the
> default behaviour?  Can it be changed to be a temporary directory, just
> as the tarball is untarred somewhere temporary?

You are right. 'make distcheck' attempts to install in a temporary
directory, something like (if 'build' is your build directory)
build/groff-1.22.2/_inst/.

However, groff's original build system inconditionally installs
GXditview and GXditview-color in /usr/X11/lib/X11/app-defaults
(appresdir), no matter what prefix you put, and I sticked to this
behaviour. That's why in Bernd's log it looks like 'make distcheck' was
trying to install in /usr. Thats'also why I had to use DESTDIR when
calling 'make distcheck'.

Regards,

--
Bertrand Garrigues


Reply via email to