summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-08-31 23:56:45 +0100
committerMichael Stapelberg <michael@stapelberg.de>2011-09-01 12:47:17 +0200
commit19bcc6456f40db1a0bf0ae9403ab3fcf0d47f0cd (patch)
treee0d00102fb141d9e90107368326c1629c3161240 /Makefile
parent42e61c4f6e36ace401d363ee002688d5bbb78b6e (diff)
Makefile: fix PREFIX usage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 436c204..0cd1c56 100644
--- a/Makefile
+++ b/Makefile
@@ -61,14 +61,14 @@ manpage:
$(MAKE) -C man
install:
- install -m 755 -d $(DESTDIR)$(PREFIX)/usr/bin
- install -m 755 -d $(DESTDIR)$(PREFIX)/etc
- install -m 755 -d $(DESTDIR)$(PREFIX)/usr/share/man/man1
- install -m 755 i3status $(DESTDIR)$(PREFIX)/usr/bin/i3status
+ install -m 755 -d $(DESTDIR)$(PREFIX)/bin
+ install -m 755 -d $(DESTDIR)$(SYSCONFDIR)
+ install -m 755 -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 755 i3status $(DESTDIR)$(PREFIX)/bin/i3status
# Allow network configuration for getting the link speed
- (which setcap && setcap cap_net_admin=ep $(DESTDIR)$(PREFIX)/usr/bin/i3status) || true
- install -m 644 i3status.conf $(DESTDIR)$(PREFIX)/etc/i3status.conf
- install -m 644 man/i3status.1 $(DESTDIR)$(PREFIX)/usr/share/man/man1
+ (which setcap && setcap cap_net_admin=ep $(DESTDIR)$(PREFIX)/bin/i3status) || true
+ install -m 644 i3status.conf $(DESTDIR)$(SYSCONFDIR)/i3status.conf
+ install -m 644 man/i3status.1 $(DESTDIR)$(PREFIX)/share/man/man1
release:
[ -f i3status-${VERSION} ] || rm -rf i3status-${VERSION}