mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
build.py: Beautify error message
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4da78464d3
commit
04b7aea611
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import subprocess
|
|||
from sets import Set
|
||||
import pwd
|
||||
import argparse
|
||||
import time
|
||||
|
||||
all_deps = Set()
|
||||
dep_tree = {}
|
||||
|
|
@ -73,7 +74,7 @@ def run_make(module, target):
|
|||
print "========= running make " + target + " in " + path
|
||||
os.chdir(path)
|
||||
if subprocess.call(["make", target]):
|
||||
raise Exception("failed to make target " + target + " in module " + module)
|
||||
raise Exception(time.strftime("%Y-%m-%d %H:%M") + ": failed to make target " + target + " in module " + module + " below base " + proj_base)
|
||||
|
||||
def build(order, target):
|
||||
if target in ["clean", "distclean"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue