aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-25 14:42:35 +1200
committerDavid <dbphillipsnz@gmail.com>2014-06-06 20:30:37 +1200
commit153dca70db4fdae32ec9e1e6e8fea69b3218bfa4 (patch)
tree38edeab7d8ca02fddc630cce70ac1a6a8eef86a9 /Makefile
parent341490a13998042d92fa9a5eb0f3349e9931fc2f (diff)
downloadparamano-153dca70db4fdae32ec9e1e6e8fea69b3218bfa4.tar.xz
Changes to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index a1a821c..f718739 100644
--- a/Makefile
+++ b/Makefile
@@ -129,19 +129,19 @@ clean:
########################################################################
# Install entire suite
install:
- #mkdir -p $(PREFIX)/usr/share/trayfreq/
- #mkdir -p $(PREFIX)/$(LOCALE_DIR)/fr/LC_MESSAGES/
- #mkdir -p $(PREFIX)/etc/xdg/autostart/
+ mkdir -p $(DESTDIR)/usr/share/trayfreq/
+ #mkdir -p $(DESTDIR)/$(LOCALE_DIR)/fr/LC_MESSAGES/
+ #mkdir -p $(DESTDIR)/etc/xdg/autostart/
- cp data/*.png $(PREFIX)/usr/share/trayfreq/
- cp lc/fr.mo $(PREFIX)$(LOCALE_DIR)/fr/LC_MESSAGES/trayfreq.mo
+ cp data/*.png $(DESTDIR)/usr/share/trayfreq/
+ install -Dm 644 lc/fr.mo $(DESTDIR)$(LOCALE_DIR)/fr/LC_MESSAGES/trayfreq.mo
- install -Dm 644 data/trayfreq.conf $(PREFIX)/etc/trayfreq.conf
- install -Dm 644 data/trayfreq.desktop $(PREFIX)/etc/xdg/autostart/trayfreq.desktop
+ install -Dm 644 data/trayfreq.conf $(DESTDIR)/etc/trayfreq.conf
+ install -Dm 644 data/trayfreq.desktop $(DESTDIR)/etc/xdg/autostart/trayfreq.desktop
- install -Dm 755 trayfreq $(PREFIX)/$(BINDIR)/trayfreq
- install -Dm 755 trayfreq-set $(PREFIX)/$(BINDIR)/trayfreq-set
+ install -Dm 755 trayfreq $(DESTDIR)/$(BINDIR)/trayfreq
+ install -Dm 755 trayfreq-set $(DESTDIR)/$(BINDIR)/trayfreq-set
- ln -s ../licenses/common/GLPv3/license.txt $(PREFIX)/usr/share/trayfreq/LICENCE
- ln -s ../../../etc/trayfreq.conf $(PREFIX)/usr/share/trayfreq/trayfreq.conf
+ ln -s ../licenses/common/GLPv3/license.txt $(DESTDIR)/usr/share/trayfreq/LICENCE
+ ln -s ../../../etc/trayfreq.conf $(DESTDIR)/usr/share/trayfreq/trayfreq.conf
########################################################################