summaryrefslogtreecommitdiffstats
path: root/src/nbblib/bs.py
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-24 15:03:14 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-24 15:03:14 +0200
commitb1d5fc06e235a45561bf53b4bfd07856cec4ea81 (patch)
tree161381475725e8186aeef110ef19642c986760b1 /src/nbblib/bs.py
parent958e81655ad143dfd54b099637db60db42f77fb0 (diff)
downloadnbb-b1d5fc06e235a45561bf53b4bfd07856cec4ea81.tar.gz
nbb-b1d5fc06e235a45561bf53b4bfd07856cec4ea81.tar.xz
nbb-b1d5fc06e235a45561bf53b4bfd07856cec4ea81.zip
Make automake's "make" command depend on configure
Diffstat (limited to 'src/nbblib/bs.py')
-rw-r--r--src/nbblib/bs.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nbblib/bs.py b/src/nbblib/bs.py
index 94f81af..44e901a 100644
--- a/src/nbblib/bs.py
+++ b/src/nbblib/bs.py
@@ -124,13 +124,17 @@ class AutomakeSourceTree(BSSourceTree):
"--enable-maintainer-mode",
], self.context)
- def build(self):
+ def make(self, *make_args):
"""'make'"""
builddir = self.config.builddir
if not os.path.exists(os.path.join(builddir, 'config.status')):
self.configure()
os.chdir(builddir)
- progutils.prog_run(["make", ], self.context)
+ progutils.prog_run(["make"] + list(make_args), self.context)
+
+ def build(self):
+ """'make'"""
+ self.make()
def install(self):
"""'make install'"""