I'm looking into a fast way to verify that the debian/control
files of my projects are syntactically valid before I send them to the build server. (i.e. an equivalent of apache2ctl configtest
but for debian control files.)
For example, once in a while, I update a list of dependencies and miss a comma. The build system takes forever so I was hoping I could just run a quick check to at least make sure the file can be loaded.
Is there a tool I can run from my Makefile
before I check things in?
(P.S. whether the list of dependencies is correct is a problem only the build system can check, I'm looking to just check that the syntax is correct.)