From 5ce094362e7530a12f8f0226af134bcdc9c99882 Mon Sep 17 00:00:00 2001 From: Jansen Price Date: Fri, 11 Sep 2020 02:30:40 -0500 Subject: [PATCH] Update makefile with better explanation --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dda3339..fa661b2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -.SILENT: help - ccyellow = $(shell echo "\033[33m") ccend = $(shell tput op) notice = $(ccyellow) $(0) $(ccend) @@ -14,7 +12,11 @@ CONF_PATH = /etc/orbit LOG_PATH = /var/log/orbit help: - echo "To run tests, run make test, to install on system run make install" + @echo "Orbit Gemini protocol server" + @echo "To run tests, run 'make test'" + @echo "To install as a service on your system run:" + @echo " 'sudo make install ORBIT_PATH=localhost'" + @echo " But replace localhost with your desired hostname" test: cd tests; ../vendor/bin/phpunit . @@ -44,6 +46,7 @@ ifeq (,$(wildcard $(CONF_PATH)/certs/$(ORBIT_HOSTNAME).cert.pem)) install -d $(CONF_PATH)/certs install certs/$(ORBIT_HOSTNAME).cert.pem $(CONF_PATH)/certs/$(ORBIT_HOSTNAME).cert.pem install certs/$(ORBIT_HOSTNAME).key.pem $(CONF_PATH)/certs/$(ORBIT_HOSTNAME).key.pem + rm -rf certs endif install_user: @@ -63,7 +66,7 @@ install: install_bin install_conf install_cert install_user install_service @echo @echo "--------------------------------" @echo "done" - @echo "> The service runs with the user $(_user), which I created for you" + @echo "> The service runs with the user $(_user)" @echo "> The actual orbit script is at $(EXEC_PATH)" @echo " - But that is just a symlink to $(_path)/bin/orbit" @echo "> I created a config file at $(CONF_PATH)/config.ini"