Re: Multiple packages out of a single build?

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

 



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.

--
	      Stuart D. Gathman <stuart@xxxxxxxx>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
_______________________________________________
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