Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   run "make" in the %build section (http://www.linux-archive.org/fedora-packaging/659340-run-make-build-section.html)

Kamal Ahmed 04-25-2012 12:25 AM

run "make" in the %build section
 
Hi,

The Makefile builds 6 binaries and the 7th binary is currently manually made depending on the architecture. ARM, or i386
Is there a way to run a make command in the %build section, then copy the binary to /usr/bin

Thanks,
-Kamal.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

Brendan Jones 04-25-2012 02:11 AM

run "make" in the %build section
 
On 04/25/2012 02:25 AM, Kamal Ahmed wrote:

Hi,

The Makefile builds 6 binaries and the 7th binary is currently manually
made depending on the architecture. ARM, or i386
Is there a way to run a make command in the %build section, then copy
the binary to /usr/bin

Thanks,
-Kamal.


--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


Use the %ifarch macro in your %files section. If it is not installed in
%install installed otherwise manually copy it using install/cp command
in your %install section.

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 02:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.