From c6461f1f7998d62d4df70b4ce982ac1c9df80c9a Mon Sep 17 00:00:00 2001
From: David <dbphillipsnz@gmail.com>
Date: Sat, 10 May 2014 22:52:44 +1200
Subject: More makefile fixes

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 57743c2..da60a33 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ PREFIX=/usr
 BINDIR=$(PREFIX)/bin
 SUDO=/usr/bin/sudo
 TRAYFREQ_SET=$(BINDIR)/trayfreq-set
-LOCALE_DIR=$(PREFIX)/share/locale/
+LOCALE_DIR=/share/locale/
 
 ifdef DEBUG
  EXTRA_CFLAGS+=-DDEBUG
@@ -135,7 +135,7 @@ install:
 	mkdir -p $(PREFIX)/etc/
 
 	cp data/*.png $(PREFIX)/usr/share/trayfreq/
-	cp lc/fr.mo $(LOCALE_DIR)/fr/LC_MESSAGES/trayfreq.mo
+	cp lc/fr.mo $(PREFIX)$(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
-- 
cgit v1.1