Re: Multiple packages out of a single build?

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

 



2011/11/9 Stuart D. Gathman <stuart@xxxxxxxx>:
> On Wed, 9 Nov 2011, Marco wrote:
>
>> This is indeed an interesting idea, thanks. I suppose there cannot be
>> something like "%install foo", "%install bar" etc., right? (it's
>> because if not, we'll have to modify the installation step itself to
>> install into all valid paths).
>
> If the makefile can only install one, then call it multiple times:
>
> %install
>
> make install foo DEST=$RPM_BUILD_ROOT
> make install bar DEST=$RPM_BUILD_ROOT
>
> Note the DEST=, your makefile needs to support something like that.
> You want to be able to run the rpmbuild as a non-root user.
>
> --

Yes, that makes sense too. I think working on subpackages + %install
is the way to go. Thanks everybody for their answers.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux