You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2007/05/03 14:20:36 UTC

svn commit: r534817 - in /gump/trunk/python/gump/core: build/make.py model/workspace.py

Author: bodewig
Date: Thu May  3 05:20:35 2007
New Revision: 534817

URL: http://svn.apache.org/viewvc?view=rev&rev=534817
Log:
Make 'make' executable configurable at the workspace level, at least I think it does

Modified:
    gump/trunk/python/gump/core/build/make.py
    gump/trunk/python/gump/core/model/workspace.py

Modified: gump/trunk/python/gump/core/build/make.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/build/make.py?view=diff&rev=534817&r1=534816&r2=534817
==============================================================================
--- gump/trunk/python/gump/core/build/make.py (original)
+++ gump/trunk/python/gump/core/build/make.py Thu May  3 05:20:35 2007
@@ -107,7 +107,10 @@
         # The make file (or none == Makefile)
         makefile = make.getMakeFile()
 
-        cmd=Cmd('make','build_'+project.getModule().getName()+'_'+project.getName(),
+        # The make command, defaults to "make"
+        makeCommand = project.getWorkspace().getMakeCommand()
+
+        cmd=Cmd(makeCommand,'build_'+project.getModule().getName()+'_'+project.getName(),
             basedir)
         
         # Pass the makefile

Modified: gump/trunk/python/gump/core/model/workspace.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/model/workspace.py?view=diff&rev=534817&r1=534816&r2=534817
==============================================================================
--- gump/trunk/python/gump/core/model/workspace.py (original)
+++ gump/trunk/python/gump/core/model/workspace.py Thu May  3 05:20:35 2007
@@ -131,6 +131,9 @@
 
         # Where the merged XML was put
         self.mergeFile=None
+
+        # make executable
+        self.makeCommand = 'make'
  
     def getChildren(self):
         return self.getModules() 
@@ -524,6 +527,9 @@
         
     def getSourceControlStagingDirectory(self):
         return self.cvsdir
+
+    def getMakeCommand(self)
+        return self.makeCommand
 
     def getObjectForTag(self,tag,dom,name=None):
         """