Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident.
This commit is contained in:
parent
78f56a5aee
commit
f1e60d7530
@ -236,9 +236,4 @@ src/help.h:
|
|||||||
@../utils/generate-command-help.rb > help.h
|
@../utils/generate-command-help.rb > help.h
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
mkdir -p $(INSTALL_BIN)
|
@../utils/install_server.sh
|
||||||
$(INSTALL) $(PRGNAME) $(INSTALL_BIN)
|
|
||||||
$(INSTALL) $(BENCHPRGNAME) $(INSTALL_BIN)
|
|
||||||
$(INSTALL) $(CLIPRGNAME) $(INSTALL_BIN)
|
|
||||||
$(INSTALL) $(CHECKDUMPPRGNAME) $(INSTALL_BIN)
|
|
||||||
$(INSTALL) $(CHECKAOFPRGNAME) $(INSTALL_BIN)
|
|
||||||
|
@ -47,7 +47,7 @@ echo "This script will help you easily set up a running redis server
|
|||||||
|
|
||||||
#check for root user TODO: replace this with a call to "id"
|
#check for root user TODO: replace this with a call to "id"
|
||||||
if [ `whoami` != "root" ] ; then
|
if [ `whoami` != "root" ] ; then
|
||||||
echo "You must run this script as root. Sorry!"
|
echo "ERROR: You must run this installation script as root. Sorry!\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user