Skip to content

Adjusting the documentation - 1.5 installing git - install-info package #1054

@4wk-

Description

@4wk-

Small suggestion about compiling git documentation.
URL: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

"Installing from Source" part:

$ make all doc info
$ sudo make install install-doc install-html install-info


On a Debian Stretch 9.4 fresh install:

# make install install-doc install-html install-info
[...]
install -d -m 755 /usr/share/info
install -m 644 git.info gitman.info /usr/share/info
if test -r /usr/share/info/dir; then \
  install-info --info-dir=/usr/share/info git.info ;\
  install-info --info-dir=/usr/share/info gitman.info ;\
else \
  echo "No directory found in /usr/share/info" >&2 ; \
fi
/bin/sh: 2: install-info: not found
/bin/sh: 3: install-info: not found
Makefile:259: recipe for target 'install-info' failed
make[1]: *** [install-info] Error 127
make[1]: Leaving directory '~/git.git/Documentation'
Makefile:2809: recipe for target 'install-info' failed
make: *** [install-info] Error 2

After running apt install install-info and re-run the make install command, everything works fine:

# git --version
git version 2.17.0.582.gccdcbd54c
  • It might be usefull to adjust the documentation to add the installation of install-info package?

Thanks for your awesome work anyway, great doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    translation backportTags a PR for translators to backport in their own repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions