[solved] make install options in dvbcut - cant get it to use the proper rpm paths

Ralf Corsepius rc040203 at freenet.de
Fri Mar 4 02:49:55 CET 2011


On 03/04/2011 12:30 AM, Paul Howarth wrote:
> On Fri, 04 Mar 2011 08:27:22 +1100
> David Timms<dtimms at iinet.net.au>  wrote:
>
>> On 04/03/11 00:17, Paul Howarth wrote:
>>> I think the Makefile already supports DESTDIR; try using:
>>>
>>> make install \
>>>       DESTDIR=%{buildroot} \
>>>       bindir=%{_bindir} \
>>>       helpdir=%{_datadir}/%{name} \
>>>       mandir=%{_mandir}
>> OK, thanks guys.
>>
>> I hadn't noticed the DESTDIR capability. I was reading
>> the ./configure --help, which mentions:

>>
>> Where does DESTDIR definition come from ?
>> Where is it normally documented ?
>
> It's fairly standard these days and comes "for free" with autotools
Not quite.  It comes "for free" with automake-based packages, as part of 
automake generated Makefile.ins.

This package however only applies autoconf and manually written 
Makefile.ins - I.e. somebody must have explictly implemented DESTDIR 
into the Makefile.ins.

Ralf


More information about the rpmfusion-developers mailing list