doc: Consider installing doc/ with make install #16897

issue ch4ot1c opened this issue on September 17, 2019
  1. ch4ot1c commented at 12:25 PM on September 17, 2019: contributor

    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
    
  2. ch4ot1c added the label Feature on Sep 17, 2019
  3. fanquake added the label Docs on Sep 17, 2019
  4. fanquake removed the label Feature on Sep 17, 2019
  5. ch4ot1c commented at 12:35 PM on September 17, 2019: contributor

    Aside: Currently, some docs expect binaries to be at ./bin/, which isn't true for the source repo / distribution, nor would it be in /usr/local/share/doc/bitcoin/ after make install.

  6. emilengler commented at 7:09 PM on September 17, 2019: contributor

    Concept ACK, the manpages aren't really useful because they are just a help2man

  7. willcl-ark commented at 8:03 PM on April 12, 2023: member

    Is this something that we actually want to add? IMO adding a load of (mostly) markdown files to this dir would be clunky at best...

    If we don't plan for this then I think we can close the issue.

    If we do then it would probably make sense to wait until the cmake project has resolved one way or another before making (low priority) changes to the make process?

  8. pinheadmz commented at 2:03 PM on April 27, 2023: member

    This issue is unlikely to be fixed in Bitcoin Core. We'll close for now, but feel free to open another issue or pull request with a fix.

  9. pinheadmz closed this on Apr 27, 2023

  10. bitcoin locked this on Apr 26, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me