Re: packaging files in CVS



On 6 Aug 2001, Gregory Leblanc wrote:
>
> make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
>     mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
>     localstatedir=$RPM_BUILD_ROOT%{localstatedir} \
>     datadir=$RPM_BUILD_ROOT%{_datadir} \
>     includedir=$RPM_BUILD_ROOT%{_includedir} \
>     sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install

Is there reason why we don't use the following:

make DESTDIR=$RPM_BUILD_ROOT install

AFAIK this should also work.

And another thing I asked in a previous mail but didn't get any answer
yet:  Why do you define the localstate variable explicitly and don't use a
predefined rpm one?

Regards,

   Jens





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]