On 03/04/2011 12:30 AM, Paul Howarth wrote:
On Fri, 04 Mar 2011 08:27:22 +1100
David Timms<[email protected]>  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

Reply via email to