Bug 193070

Summary: Add option to specify the make program
Product: [Developer tools] kdesrc-build Reporter: Raphael Kubo da Costa <rakuco>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: Add the desired behaviour
Updated version of the patch implementing the expected behaviour

Description Raphael Kubo da Costa 2009-05-18 03:46:25 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When compiling trunk in non-Linux systems (in my case, FreeBSD), calling make doesn't work with every modules - sometimes gmake is needed.

Currently, I could not find a way to specify what program should be used as 'make'.
Comment 1 Michael Pyne 2009-05-18 04:12:19 UTC
For now a workaround is to add a symlink called "make" pointing to gmake and making sure that it is present in the first directory of your binpath setting (you can create this directory yourself and add it to binpath if necessary).
Comment 2 Raphael Kubo da Costa 2009-05-18 05:01:10 UTC
Created attachment 33785 [details]
Add the desired behaviour

This patch adds the 'make-program' option (with the default value of 'make') and documents it.
Comment 3 Raphael Kubo da Costa 2009-05-19 04:23:18 UTC
Created attachment 33822 [details]
Updated version of the patch implementing the expected behaviour

As discussed on IRC, the option is not available on the command-line anymore, nor is it present in the sample rc file. The default is 'gmake' for all platforms.
Comment 4 Raphael Kubo da Costa 2009-05-19 18:11:14 UTC
I've tested the patch on a Linux system, and at least Arch Linux doesn't have gmake. I guess the sensible default should be make.
Comment 5 Michael Pyne 2009-05-22 04:08:02 UTC
OK, I think I'll just use some existing functionality that kdesvn-build has to use gmake if it's present in $PATH, otherwise default to make.

But that will have to wait until this weekend I guess since I have duty 22-May.
Comment 6 Michael Pyne 2010-05-06 02:52:49 UTC
SVN commit 1123402 by mpyne:

Almost one year later than I said I would, prefer gmake to make if it is present since
GNU Make works better typically, especially on non-Linux.

BUG:193070


 M  +15 -7     kdesvn-build  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1123402