aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files 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