pass cmake parameters, name, email, build dir to auto-debuild; ignore debian/ folder...
[mass-build.git] / kdebuildpy.py
index 4363bd44c60e308c90dd5de4bb01d9439c2d28ba..b56eb86b5d932f72333eac60d97f5d4dbe1156bb 100755 (executable)
@@ -42,11 +42,11 @@ class Project:
                        raise Exception("Unknown VCS type "+vcsName)
                # build system
                if config.get('buildDeb', False):
-                       self.buildSystem = build_system.AutoDebuild(self.sourceFolder(), module, self.vcs, config)
+                       self.buildSystem = build_system.AutoDebuild(self.sourceFolder(), self.buildFolder(), module, self.vcs, config)
                else:
                        buildSystemName = module.get('build-system', 'cmake')
                        if buildSystemName == 'cmake':
-                               self.buildSystem = build_system.CMake(self.sourceFolder(), self.buildFolder(), config)
+                               self.buildSystem = build_system.CMake(self.sourceFolder(), self.buildFolder(), module, config)
                        else:
                                raise Exception("Unknown build system type "+buildSystemName)