From 9e7cdc3c150183542cc41f333bd5315677244c8f Mon Sep 17 00:00:00 2001 From: Joelixny Date: Wed, 26 Mar 2014 19:04:31 -0400 Subject: [PATCH] Added warnings. --- Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 6539ab9..12306e2 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,6 @@ common: cp -r resources/lua/intf/*.lua $(LIB_PATH)/syncplay/resources/lua/intf/ cp resources/hicolor/48x48/apps/syncplay.png $(SHARE_PATH)/app-install/icons/ cp resources/hicolor/48x48/apps/syncplay.png $(SHARE_PATH)/pixmaps/ - -ifeq ($(SINGLE_USER),true) - @echo -e '\n**********\n**********\n \nRemeber to add ${HOME}/.local/bin to your $$PATH with "PATH=$$PATH:${HOME}/.local/bin"\n \n**********\n**********\n' -endif u-common: -rm -rf $(LIB_PATH)/syncplay @@ -73,15 +69,20 @@ u-server: -rm $(BIN_PATH)/syncplay-server -rm $(LIB_PATH)/syncplay/syncplayServer.py -rm $(APP_SHORTCUT_PATH)/syncplay-server.desktop + +warnings: +ifeq ($(SINGLE_USER),true) + @echo -e '\n**********\n**********\n \nRemeber to add ${HOME}/.local/bin to your $$PATH with "PATH=$$PATH:${HOME}/.local/bin"\n \n**********\n**********\n' +endif -install-client: common client +install-client: common client warnings -uninstall-client: u-client u-common +uninstall-client: u-client u-common -install-server: common server +install-server: common server warnings uninstall-server: u-server u-common -install: common client server +install: common client server warnings uninstall: u-client u-server u-common