[crda] 03/16: crda: Add DESTDIR support in install-libreg* rules in Makefile

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Wed Jan 18 02:22:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository crda.

commit 2cabb2588da56735369131b709f191453c080be0
Author: John W. Linville <linville at tuxdriver.com>
Date:   Fri Feb 14 13:58:44 2014 -0500

    crda: Add DESTDIR support in install-libreg* rules in Makefile
    
    Signed-off-by: John W. Linville <linville at tuxdriver.com>
    Signed-off-by: Luis R. Rodriguez <mcgrof at do-not-panic.com>
---
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 0b2f0d7..1f25509 100644
--- a/Makefile
+++ b/Makefile
@@ -120,13 +120,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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/crda.git



More information about the Kernel-svn-changes mailing list