X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=0cd1c56d20422f720df558c7ba1ea74fd74dee3b;hb=be61907ad5faa0f0ee86555a30572debf59d3afc;hp=644edd1c2719ff3166093e2ec46098d633ec1ca5;hpb=6dbf9bfb6403f4e36ffe20a60ce7d67221586fdf;p=i3%2Fi3status diff --git a/Makefile b/Makefile index 644edd1..0cd1c56 100644 --- a/Makefile +++ b/Makefile @@ -61,14 +61,14 @@ manpage: $(MAKE) -C man install: - install -m 755 -d $(DESTDIR)/usr/bin - install -m 755 -d $(DESTDIR)/etc - install -m 755 -d $(DESTDIR)/usr/share/man/man1 - install -m 755 i3status $(DESTDIR)/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)/usr/bin/i3status) || true - install -m 644 i3status.conf $(DESTDIR)/etc/i3status.conf - install -m 644 man/i3status.1 $(DESTDIR)/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}