# list is used as the starting point for full dependency graphs
def get_targets():
sys.stderr.write("Getting targets\n")
- cmd = ["make", "show-targets"]
+ cmd = ["make", "-s", "show-targets"]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output = p.communicate()[0].strip()
if p.returncode != 0:
# formatted as a Python list.
def get_depends(pkg):
sys.stderr.write("Getting dependencies for %s\n" % pkg)
- cmd = ["make", "%s-show-depends" % pkg]
+ cmd = ["make", "-s", "%s-show-depends" % pkg]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output = p.communicate()[0].strip()
if p.returncode != 0: