Generate a HBD manifest.

Stolen from QuantumCraft.