Skip to content

doc: Consider installing doc/ with make install #16897

@ch4ot1c

Description

@ch4ot1c

Do we want to make install doc/ into /usr/local/share/doc/bitcoin/ (see docdir in https://www.gnu.org/prep/standards/html_node/Directory-Variables.html)? Currently, man pages are installed to /usr/local/share/man/man1/bitcoin*.

This describes contrib/debian/copyright being placed here as well:
https://www.debian.org/doc/debian-policy/ch-archive.html#copyright-considerations

Furthermore, files like README.md and INSTALL.md could have their extensions removed in the dist-hook.
automake --help has a list of Files automatically distributed if found (e.g. make dist will include):

Files automatically distributed if found (always):
  ABOUT-GNU           INSTALL             config.rpath        ltconfig
  ABOUT-NLS           NEWS                config.sub          ltmain.sh
  AUTHORS             README              depcomp             mdate-sh
  BACKLOG             THANKS              install-sh          missing
  COPYING             TODO                libversion.in       mkinstalldirs
  COPYING.DOC         ar-lib              ltcf-c.sh           py-compile
  COPYING.LESSER      compile             ltcf-cxx.sh         texinfo.tex
  COPYING.LIB         config.guess        ltcf-gcj.sh         ylwrap
  ChangeLog

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions