From: John W. Linville Date: Wed, 30 Sep 2009 13:19:46 +0000 (-0400) Subject: default install to $(PREFIX)/sbin X-Git-Tag: v0.9.18~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=190f50c0f0208e6ddce2260dc6042e4253a921b0;p=thirdparty%2Fiw.git default install to $(PREFIX)/sbin The iw utility isn't generally useful to normal users, so move it to $(PREFIX)/sbin with other system management executables. Signed-off-by: John W. Linville --- diff --git a/Makefile b/Makefile index cb5fcc1..68bef4d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ MAKEFLAGS += --no-print-directory PREFIX ?= /usr -BINDIR ?= $(PREFIX)/bin +SBINDIR ?= $(PREFIX)/sbin MANDIR ?= $(PREFIX)/share/man PKG_CONFIG ?= pkg-config @@ -85,8 +85,8 @@ check: install: iw iw.8.gz @$(NQ) ' INST iw' - $(Q)$(MKDIR) $(DESTDIR)$(BINDIR) - $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(BINDIR) iw + $(Q)$(MKDIR) $(DESTDIR)$(SBINDIR) + $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(SBINDIR) iw @$(NQ) ' INST iw.8' $(Q)$(MKDIR) $(DESTDIR)$(MANDIR)/man8/ $(Q)$(INSTALL) -m 644 -t $(DESTDIR)$(MANDIR)/man8/ iw.8.gz