aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-02-13 22:06:43 +1300
committerDavid <dbphillipsnz@gmail.com>2014-02-13 22:06:43 +1300
commitccc2f7f5c75696d9ccbe0d9b471dcf1d9db836c5 (patch)
tree7b6e50aa252adcb03af060507a1fae8bfaf3c849
parent6d4d20863bb0bf2dc9d8f2ae6526f4a795d26087 (diff)
downloadparamano-ccc2f7f5c75696d9ccbe0d9b471dcf1d9db836c5.tar.xz
Makefile fix
-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