this is my second post about Debian. I'm lately discovering all the tools for both managing my Debian system and creating packages.
dh_make is the first tool I've used for the "first debianization" (called so by the New maintainers' guide) which creates a basic template for your package.
Anyway after a few packagings I've seen that something redundant could be automatized further.
What I suggest is a tool that does the following stuff after dh_make has been called:
- First dpkg-buildpackage -rfakeroot
- Check for libraries and binaries and create new packages in debian/control
- Find docs in usr/shared and modify the doc-base
- Check for .desktop files and .xpm then create menu
- Find info and manpages files
- Obtain copyright from COPYING/LICENSE and such, authors from AUTHORS and so on
- Find ITP on BTS and fill in the bug number in the changelog
- Rebuild the project
- Check for lintian errors and warnings and try to fix them (such as empty directories, wrong library name, etc.)
How this tool sounds to you? Would it be useful and easy to make at least for simple autotooled projects?