Isso não é erro, você pode verificar com echo $? depois de executar make install-info . Alvo install-info em Documentation/Makefile
é assim:
install-info: info
$(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
$(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir)
if test -r $(DESTDIR)$(infodir)/dir; then \
$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\
else \
echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \
fi
O programa chamado install cria páginas de informações corretamente
/usr/local/git/share/info/ , você pode verificar:
$ ls -lh /usr/local/git/share/info/
total 2.3M
-rw-r--r-- 1 root root 218K Jun 13 21:46 git.info
-rw-r--r-- 1 root root 2.1M Jun 13 21:46 gitman.info
O install-info target foi introduzido no commit 4739809c e diz:
If the info target directory does not already contain a "dir" file, no directory entry is created.
Um arquivo chamado dir é uma parte do GNU texinfo
mas não é obrigatório.
Observe também que, a menos que você tenha /usr/local/git/bin/ em seu $PATH , não é possível iniciar git simplesmente digitando git após instalá-lo da maneira como fez, é necessário fazer isso:
$ /usr/local/git/bin/git --version
git version 2.17.1