aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-29 15:42:42 +1200
committerDavid <dbphillipsnz@gmail.com>2014-06-06 20:31:39 +1200
commit8879c29c90d05177b2eff4ff51df7d4b7e7c6523 (patch)
treea593ccc3141a502b6daf098972fe19eae03bc7fb /Makefile
parent8f1bf7139ad5ae6f9c553029f4c37df82290096d (diff)
downloadparamano-8879c29c90d05177b2eff4ff51df7d4b7e7c6523.tar.xz
Makefile install fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 379b9a5..c9b027a 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ trayfreq_set_SOURCES = trayfreq_set/trayfreq_set.c \
########################################################################
# Make entire suite
-all: trayfreq trayfreq-set lang
+all: trayfreq trayfreq-set lang trayfreq.conf
########################################################################
@@ -124,7 +124,7 @@ lang:
########################################################################
# Prepare template config file
-config:
+trayfreq.conf:
sed -e 's:SHAREDIR:$(SHAREDIR):g' \
-e 's:TRAYFREQ_CONF:$(TRAYFREQ_CONF):g' \
trayfreq.conf.src > trayfreq.conf
@@ -141,16 +141,16 @@ clean:
########################################################################
# Install entire suite
install:
- install -Dm 755 data/themes $(DESTDIR)/usr/share/trayfreq/
+ install -Dm 755 themes $(DESTDIR)/$(SHAREDIR)/trayfreq/themes
- install -Dm 644 lc/fr.mo $(DESTDIR)$(LOCALE_DIR)/fr/LC_MESSAGES/trayfreq.mo
+ install -Dm 644 lc/fr.mo $(DESTDIR)/$(LOCALEDIR)/fr/LC_MESSAGES/trayfreq.mo
- install -Dm 644 data/trayfreq.conf $(DESTDIR)/etc/trayfreq.conf
- install -Dm 644 data/trayfreq.desktop $(DESTDIR)/etc/xdg/autostart/trayfreq.desktop
+ install -Dm 644 trayfreq.conf $(DESTDIR)/etc/trayfreq.conf
+ install -Dm 644 trayfreq.desktop $(DESTDIR)/etc/xdg/autostart/trayfreq.desktop
install -Dm 755 trayfreq $(DESTDIR)/$(BINDIR)/trayfreq
install -Dm 755 trayfreq-set $(DESTDIR)/$(BINDIR)/trayfreq-set
- ln -s ../licenses/common/GLPv3/license.txt $(DESTDIR)/usr/share/trayfreq/LICENCE
- ln -s ../../../etc/trayfreq.conf $(DESTDIR)/usr/share/trayfreq/trayfreq.conf
+ ln -s ../licenses/common/GLPv3/license.txt $(DESTDIR)/$(SHAREDIR)/trayfreq/LICENCE
+ ln -s ../../../etc/trayfreq.conf $(DESTDIR)/$(SHAREDIR)/trayfreq/trayfreq.conf
########################################################################