diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-17 22:39:05 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-17 22:39:05 (GMT) |
commit | 059e15d49b4e1afbe407daf104a8116ac2ec348b (patch) | |
tree | 4fc25c46e18e2dba83701778edf99c7f7093752b /devbot | |
parent | e51677b9cf1f3b1d1faa09774c90de8b56350a97 (diff) |
Add sugar-docs to the build
Diffstat (limited to 'devbot')
-rw-r--r-- | devbot/build.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devbot/build.py b/devbot/build.py index 4d09b0d..097ab08 100644 --- a/devbot/build.py +++ b/devbot/build.py @@ -80,6 +80,9 @@ def pull_source(module): branch = module.get("branch", "master") command.run(["git", "checkout", branch]) +def build_make(module): + command.run(["make"]) + def build_autotools(module): autogen = os.path.join(config.get_module_source_dir(module), "autogen.sh") @@ -114,6 +117,8 @@ def build_module(module): build_activity(module) elif os.path.exists(os.path.join(module_source_dir, "autogen.sh")): build_autotools(module) + elif os.path.exists(os.path.join(module_source_dir, "Makefile")): + build_make(module) else: print "Unknown build system" sys.exit(1) |