From a7723475014d80efcf54de9a06e2e48a5875a0e3 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 14 May 2008 10:55:30 -0500 Subject: [PATCH] Add message to the Makefile suggesting the user may need to run 'make install'. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7a5f80e..7a17d5d 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ non: $(OBJS) @ echo -n "Linking..." @ rm -f $@ @ $(CXX) $(CXXFLAGS) $(LIBS) $(OBJS) -o $@ || (tput bold; tput setaf 1; echo Error!; tput sgr0) - @ test -x $@ && echo done. + @ if test -x $@; then tput bold; tput setaf 2; echo done; tput sgr0; test -x "$(prefix)/bin/$@" || echo "You must now run 'make install' (as the appropriate user) to install the executable, documentation and other support files in order for the program to function properly."; fi install: all @ echo -n "Installing..." @@ -92,7 +92,7 @@ install: all @ cp -r instruments "$(SYSTEM_PATH)" @ mkdir -p "$(DOCUMENT_PATH)" @ cp doc/*.html doc/*.png "$(DOCUMENT_PATH)" - @ echo done + @ tput bold; tput setaf 2; echo done; tput sgr0 # make -C doc install dist: