Packaging with CDBS: Unknown sequence cleanbuilddir

view story

http://askubuntu.com – I'm trying to create an Ubuntu package for testing, and stick to the rules given at https://wiki.ubuntu.com/PackagingGuide/Complete. As this is CMake build and I need to adapt the arguments to cmake, I'm using include /usr/share/cdbs/1/class/cmake.mk in debian/rules. Unfortunately, when I then call debuild I get the error message $ debuild [...] dh cleanbuilddir dh: Unknown sequence cleanbuilddir (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) make: *** [cleanbuilddir] Error 255 dpkg-buildpackage: error: fakeroot debian/ (HowTos)