From 88dd4e4d13c49317029a7f5a3def9a95afb76ebb Mon Sep 17 00:00:00 2001 From: David Brown Date: Mon, 27 Jun 2016 17:07:54 +0100 Subject: [PATCH] Emit 'now set path' message at end of 'make full'. --- makefile | 2 ++ src/tools/make/vishap.make | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/makefile b/makefile index a9185517..4f2dfc60 100644 --- a/makefile +++ b/makefile @@ -139,6 +139,7 @@ full: configuration @make -f src/tools/make/vishap.make -s library @make -f src/tools/make/vishap.make -s install @make -f src/tools/make/vishap.make -s confidence + @make -f src/tools/make/vishap.make -s showpath @@ -169,6 +170,7 @@ library: configuration install: configuration @make -f src/tools/make/vishap.make -s installable @make -f src/tools/make/vishap.make -s install + @make -f src/tools/make/vishap.make -s showpath uninstall: configuration @make -f src/tools/make/vishap.make -s installable diff --git a/src/tools/make/vishap.make b/src/tools/make/vishap.make index 43986b73..cd88c04e 100644 --- a/src/tools/make/vishap.make +++ b/src/tools/make/vishap.make @@ -173,6 +173,10 @@ install: @-cp $(BUILDDIR)/showdef$(BINEXT) "$(INSTALLDIR)/bin" @cp $(BUILDDIR)/lib$(ONAME).* "$(INSTALLDIR)/lib/" @if which ldconfig >/dev/null 2>&1; then $(LDCONFIG); fi + + +# showpath: Describe how to set the PATH variable +showpath: @printf "\nNow add $(INSTALLDIR)/bin to your path, for example with the command:\n" @printf "export PATH=\"$(INSTALLDIR)/bin:\$$PATH\"\n" @printf "\n"