Beispiel #1
0
    def build():
        rv = run_background("make", "clean", cwd=src_dir)
        if rv:
            raise Exception, "clean failed"

        rv = run_background("make", cwd=src_dir)
        if rv:
            raise Exception, "build failed"
Beispiel #2
0
 def install():
     rv = run_background("make", "install", cwd=src_dir)
     if rv:
         raise Exception, "install failed"