Emit 'now set path' message at end of 'make full'.

This commit is contained in:
David Brown 2016-06-27 17:07:54 +01:00
parent a359e16ae9
commit 88dd4e4d13
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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"