./make.sh build <package> --only-deps will build all dependencies
for the package but not the package itself.
self.log.warn("Skipping %s which was already built" % package.name)
continue
- packages.append(package)
+ if not args.onlydeps:
+ packages.append(package)
- if args.withdeps:
+ if args.withdeps or args.onlydeps:
deps = []
for dep in package.dependencies_all:
if not dep.built:
help="Primary build command",
arguments=[
Option("withdeps", ["--with-deps"], help="Build all dependencies first if needed"),
+ Option("onlydeps", ["--only-deps"], help="Build only dependencies that belong to a package"),
List("packages", help="Give a list of packages to build or say 'all'"),
]),