From patchwork Fri Feb 14 18:58:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John W. Linville" X-Patchwork-Id: 3653461 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5B0279F334 for ; Fri, 14 Feb 2014 19:00:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8CACB2018B for ; Fri, 14 Feb 2014 19:00:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 88BCB2018A for ; Fri, 14 Feb 2014 19:00:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751951AbaBNTAQ (ORCPT ); Fri, 14 Feb 2014 14:00:16 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:55677 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbaBNTAP (ORCPT ); Fri, 14 Feb 2014 14:00:15 -0500 Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1WENzf-0008VH-Ju; Fri, 14 Feb 2014 14:00:11 -0500 Received: from linville-x1.hq.tuxdriver.com (localhost.localdomain [127.0.0.1]) by linville-x1.hq.tuxdriver.com (8.14.7/8.14.6) with ESMTP id s1EIwqYO005191; Fri, 14 Feb 2014 13:58:52 -0500 Received: (from linville@localhost) by linville-x1.hq.tuxdriver.com (8.14.7/8.14.7/Submit) id s1EIwq1O005190; Fri, 14 Feb 2014 13:58:52 -0500 From: "John W. Linville" To: linux-wireless@vger.kernel.org Cc: "Luis R. Rodriguez" , "John W. Linville" Subject: [PATCH] crda: Add DESTDIR support in install-libreg* rules in Makefile Date: Fri, 14 Feb 2014 13:58:44 -0500 Message-Id: <1392404324-5153-1-git-send-email-linville@tuxdriver.com> X-Mailer: git-send-email 1.8.5.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: John W. Linville --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4a351c645bf4..807a53819453 100644 --- a/Makefile +++ b/Makefile @@ -119,13 +119,13 @@ $(LIBREG): regdb.h reglib.h reglib.c install-libreg-headers: $(NQ) ' INSTALL libreg-headers' - $(Q)mkdir -p $(INCLUDE_DIR) - $(Q)cp *.h $(INCLUDE_DIR)/ + $(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR) + $(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/ install-libreg: $(NQ) ' INSTALL libreg' - $(Q)mkdir -p $(LIBDIR) - $(Q)cp $(LIBREG) $(LIBDIR)/ + $(Q)mkdir -p $(DESTDIR)/$(LIBDIR) + $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/ $(Q)ldconfig %.o: %.c regdb.h $(LIBREG)