From ccc2f7f5c75696d9ccbe0d9b471dcf1d9db836c5 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 13 Feb 2014 22:06:43 +1300 Subject: Makefile fix --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c6c1835..4dd4188 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ +INSTALL_PATH=/ + all: make all --directory=./src/ install: - install -D data/*.png /usr/share/trayfreq/ - install -D data/trayfreq.config /usr/share/trayfreq/trayfreq.config - install -D data/trayfreq.desktop /etc/xdg/autostart/trayfreq.desktop + install -D data/*.png $(INSTALL_PATH)/usr/share/trayfreq/ + install -D data/trayfreq.config $(INSTALL_PATH)/usr/share/trayfreq/trayfreq.config + install -D data/trayfreq.desktop $(INSTALL_PATH)/etc/xdg/autostart/trayfreq.desktop - install -Dm 755 src/trayfreq /usr/bin/trayfreq - install -Dm 755 src/trayfreq-set /usr/bin/trayfreq-set \ No newline at end of file + install -Dm 755 src/trayfreq $(INSTALL_PATH)/usr/bin/trayfreq + install -Dm 755 src/trayfreq-set $(INSTALL_PATH)/usr/bin/trayfreq-set -- cgit v1.1