From patchwork Wed Sep 30 13:19:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John W. Linville" X-Patchwork-Id: 50695 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8UDLLJO007593 for ; Wed, 30 Sep 2009 13:21:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754159AbZI3NUp (ORCPT ); Wed, 30 Sep 2009 09:20:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754148AbZI3NUp (ORCPT ); Wed, 30 Sep 2009 09:20:45 -0400 Received: from charlotte.tuxdriver.com ([70.61.120.58]:56372 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754140AbZI3NUo (ORCPT ); Wed, 30 Sep 2009 09:20:44 -0400 Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1Msz6t-0002ci-MT; Wed, 30 Sep 2009 09:20:47 -0400 Received: from linville-t400.local (linville-t400.local [127.0.0.1]) by linville-t400.local (8.14.3/8.14.3) with ESMTP id n8UDJk5M004703; Wed, 30 Sep 2009 09:19:47 -0400 Received: (from linville@localhost) by linville-t400.local (8.14.3/8.14.3/Submit) id n8UDJkQ9004701; Wed, 30 Sep 2009 09:19:46 -0400 From: "John W. Linville" To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, "John W. Linville" Subject: [iw PATCH] default install to $(PREFIX)/sbin Date: Wed, 30 Sep 2009 09:19:46 -0400 Message-Id: <1254316786-4670-1-git-send-email-linville@tuxdriver.com> X-Mailer: git-send-email 1.6.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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