Blame crda-Add-DESTDIR-support-in-install-libreg-rules-in-.patch
|
John W. Linville |
39af35d |
From 79f5cb8d130a635e0ee3eeb6a061a31d6bd7286e Mon Sep 17 00:00:00 2001
|
|
John W. Linville |
39af35d |
From: "John W. Linville" <linville@tuxdriver.com>
|
|
John W. Linville |
39af35d |
Date: Fri, 14 Feb 2014 13:39:14 -0500
|
|
John W. Linville |
39af35d |
Subject: [PATCH] crda: Add DESTDIR support in install-libreg* rules in
|
|
John W. Linville |
39af35d |
Makefile
|
|
John W. Linville |
39af35d |
|
|
John W. Linville |
39af35d |
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
John W. Linville |
39af35d |
---
|
|
John W. Linville |
39af35d |
Makefile | 8 ++++----
|
|
John W. Linville |
39af35d |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
John W. Linville |
39af35d |
|
|
John W. Linville |
39af35d |
diff --git a/Makefile b/Makefile
|
|
John W. Linville |
39af35d |
index 4a351c645bf4..807a53819453 100644
|
|
John W. Linville |
39af35d |
--- a/Makefile
|
|
John W. Linville |
39af35d |
+++ b/Makefile
|
|
John W. Linville |
39af35d |
@@ -119,13 +119,13 @@ $(LIBREG): regdb.h reglib.h reglib.c
|
|
John W. Linville |
39af35d |
|
|
John W. Linville |
39af35d |
install-libreg-headers:
|
|
John W. Linville |
39af35d |
$(NQ) ' INSTALL libreg-headers'
|
|
John W. Linville |
39af35d |
- $(Q)mkdir -p $(INCLUDE_DIR)
|
|
John W. Linville |
39af35d |
- $(Q)cp *.h $(INCLUDE_DIR)/
|
|
John W. Linville |
39af35d |
+ $(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR)
|
|
John W. Linville |
39af35d |
+ $(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/
|
|
John W. Linville |
39af35d |
|
|
John W. Linville |
39af35d |
install-libreg:
|
|
John W. Linville |
39af35d |
$(NQ) ' INSTALL libreg'
|
|
John W. Linville |
39af35d |
- $(Q)mkdir -p $(LIBDIR)
|
|
John W. Linville |
39af35d |
- $(Q)cp $(LIBREG) $(LIBDIR)/
|
|
John W. Linville |
39af35d |
+ $(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
|
|
John W. Linville |
39af35d |
+ $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
|
|
John W. Linville |
39af35d |
$(Q)ldconfig
|
|
John W. Linville |
39af35d |
|
|
John W. Linville |
39af35d |
%.o: %.c regdb.h $(LIBREG)
|
|
John W. Linville |
39af35d |
--
|
|
John W. Linville |
39af35d |
1.8.5.3
|
|
John W. Linville |
39af35d |
|