#!/bin/bash

function generate_chart {
	debtree --no-recommends --max-depth=2 $1 | dot -Tpdf -o $1-dependencies.pdf
}

generate_chart libtdekrb-trinity
generate_chart libtqtrla
generate_chart remote-laboratory-client-trinity
generate_chart ulab-adminsysctlserver
generate_chart ulab-adminusermgmtserver
generate_chart ulab-authserver
generate_chart ulab-fpgaprogserver
generate_chart ulab-fpgaserver
generate_chart ulab-gpibserver
generate_chart ulab-sensormonserver
