Add message to the Makefile suggesting the user may need to run 'make install'.

This commit is contained in:
Jonathan Moore Liles 2008-05-14 10:55:30 -05:00
parent 72ae9470d3
commit a772347501
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ non: $(OBJS)
@ echo -n "Linking..." @ echo -n "Linking..."
@ rm -f $@ @ rm -f $@
@ $(CXX) $(CXXFLAGS) $(LIBS) $(OBJS) -o $@ || (tput bold; tput setaf 1; echo Error!; tput sgr0) @ $(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 install: all
@ echo -n "Installing..." @ echo -n "Installing..."
@ -92,7 +92,7 @@ install: all
@ cp -r instruments "$(SYSTEM_PATH)" @ cp -r instruments "$(SYSTEM_PATH)"
@ mkdir -p "$(DOCUMENT_PATH)" @ mkdir -p "$(DOCUMENT_PATH)"
@ cp doc/*.html doc/*.png "$(DOCUMENT_PATH)" @ cp doc/*.html doc/*.png "$(DOCUMENT_PATH)"
@ echo done @ tput bold; tput setaf 2; echo done; tput sgr0
# make -C doc install # make -C doc install
dist: dist: