make install prefix=/usr DESTDIR=debian/dgit
make install-infra prefix=/usr DESTDIR=debian/dgit-infrastructure
-debian/tests/control: tests/list-tests debian/tests/control.in
+debian/tests/control: tests/enumerate-tests debian/tests/control.in
$< gencontrol >$@.new && mv -f $@.new $@
debian/tests/control: tests/lib-core tests/lib-restricts
-debian/tests/control: $(wildcard tests/tests/*[^~#])
+debian/tests/control: tests/tests $(wildcard tests/tests/*[^~#])