This may require a tweak to look in the right directory for the source code, but it will automatically format the version number appropriately for Debian packaging. The iteration number is now the only optional argument, defaulting to 1.