#!/bin/sh

set -eu

# check that every program under bin/ is installed to one of the binary packages
for prog in $(find bin/ -type f); do
  ls -1 debian/*/usr/share/debci/bin/${prog#bin/} > /dev/null
done

# documentation bits
for doc in \
  Debci/Package.html \
  file.MAINTAINERS.html \
  file.TUTORIAL.html \
; do
  ls -1 debian/*/usr/share/debci/public/doc/$doc > /dev/null
done
