[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#832096: lintian: please check for common typos in debian/rules target names



Hi Chris!

Thanks for the patch. I agree it would cool to have a check like this in Lintian.

* Chris Lamb <lamby@debian.org>, 2016-07-22, 11:38:
Misspelling an target (eg. "override_dh_install_debconf") results in that

Typo: an -> a

+ This can result in (for example) an <tt>dh_override_</tt>-style target

Ditto.

+override_dh_install_changelog		override_dh_installcangelogs

Typo in the correction...

+override_dh_install_changelog		override_dh_installchangelogs

...but this one is good. :)

+override_dh_install_manpage		override_dh_installmanpage
+override_dh_install_manpages		override_dh_installmanpage

Typo in the correction: s/manpage$/manpages/.

Lintian is already aware of existing dh_* commands (see data/debhelper/dh_commands), so maybe we could use this list instead of manually maintaining possible misspellings?

--
Jakub Wilk


Reply to: