Merge pull request #653 from stilor/fix-make-install

Hot fix for 'make install'
This commit is contained in:
Alexey Neyman 2017-03-20 22:26:29 -07:00 committed by GitHub
commit 80daed99de

View File

@ -350,7 +350,17 @@ install-lib-kconfig: $(DESTDIR)$(libdir) install-lib-main
install "kconfig/$${f}" "$(DESTDIR)$(libdir)/kconfig/$${f}"; \
done
install-doc: $(DESTDIR)$(docdir)
install-doc: install-doc-$(if $(wildcard docs/MANUAL_ONLINE),message,real)
install-doc-message:
@echo "********************************************************************"
@echo " You are building from a development version that does not include"
@echo " the documentation. Refer to the manual online at:"
@echo " http://crosstool-ng.github.io/docs"
@echo "********************************************************************"
install-doc-real: $(DESTDIR)$(docdir)
@echo " INST 'docs/*.txt'"
@for doc_file in docs/*.txt; do \
$(install) -m 644 "$${doc_file}" "$(DESTDIR)$(docdir)"; \