FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 04-25-2012, 12:25 AM
Kamal Ahmed
 
Default 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
 
Old 04-25-2012, 02:11 AM
Brendan Jones
 
Default 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
 

Thread Tools




All times are GMT. The time now is 06:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org