Create a package without documentation

checkinstall

  • Track the local installation of a software package, and produce a binary package which can be used with a system's native package manager.
    More information: <http://checkinstall.izto.org>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo checkinstall --nodoc

click the source code to copy install checkinstall on any operating system with command-not-found.com