From 55c9c7f05872a113e8d867bba40a7f02900229b7 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 20 Mar 2017 22:25:44 -0700 Subject: Hot fix for 'make install' ... while I continue to work on release script. Signed-off-by: Alexey Neyman diff --git a/Makefile.in b/Makefile.in index aa27d61..634abaf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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)"; \ -- cgit v0.10.2-6-g49f6