X-Git-Url: https://git.ralfj.de/mass-build.git/blobdiff_plain/b28ea6ce8fa02244729a4c3a8822a07d901d99a8..1c7ec34aa2c1faefe2cc96df094e427e3ef83376:/kdebuildpy.py?ds=inline diff --git a/kdebuildpy.py b/kdebuildpy.py index 4363bd4..696c76f 100755 --- a/kdebuildpy.py +++ b/kdebuildpy.py @@ -37,16 +37,16 @@ class Project: if vcsName == 'kde+git': self.vcs = vcs.KDEGit(self.sourceFolder(), module['name'], module['version']) elif vcsName == 'kde+svn': - self.vcs = vcs.KDESVN(self.sourceFolder(), module['svn-path']) + self.vcs = vcs.KDESVN(self.sourceFolder(), module['svn-path'], module.get('versionName')) else: 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)