* [iw PATCH] default install to $(PREFIX)/sbin
@ 2009-09-30 13:19 John W. Linville
2009-09-30 17:21 ` Tim Gardner
0 siblings, 1 reply; 2+ messages in thread
From: John W. Linville @ 2009-09-30 13:19 UTC (permalink / raw)
To: johannes; +Cc: linux-wireless, John W. Linville
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 <linville@tuxdriver.com>
---
As "suggested" by Johannes... :-)
Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
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
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [iw PATCH] default install to $(PREFIX)/sbin
2009-09-30 13:19 [iw PATCH] default install to $(PREFIX)/sbin John W. Linville
@ 2009-09-30 17:21 ` Tim Gardner
0 siblings, 0 replies; 2+ messages in thread
From: Tim Gardner @ 2009-09-30 17:21 UTC (permalink / raw)
To: John W. Linville; +Cc: johannes, linux-wireless
John W. Linville wrote:
> 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 <linville@tuxdriver.com>
> ---
> As "suggested" by Johannes... :-)
>
> Makefile | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> 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
FWIW Ubuntu wireless-tools drops rfkill in /sbin, where I think tools
that require root for changes should live.
rtg
--
Tim Gardner tim.gardner@canonical.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-30 17:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 13:19 [iw PATCH] default install to $(PREFIX)/sbin John W. Linville
2009-09-30 17:21 ` Tim Gardner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).