Re: packaging files in CVS
- From: Dean Scott <drscott rochester rr com>
- To: Jens Finke <jens triq net>
- Cc: gnome-packaging-list gnome org
- Subject: Re: packaging files in CVS
- Date: 16 Aug 2001 16:06:25 -0400
On 16 Aug 2001 22:00:10 +0200, Jens Finke wrote:
> 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
Yes that does work for some packages, but it is safer to use the above
because DESTDIR is not supported by all packages iirc
>
> 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?
The rpm defined one is incorrect; it is set to prefix/var
Dean Scott
>
> Regards,
>
> Jens
>
>
> _______________________________________________
> Gnome-packaging-list mailing list
> Gnome-packaging-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-packaging-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]