1From 8e370a2f35d0c3472ddc9068fab19d0077434c61 Mon Sep 17 00:00:00 2001 2From: Mingli Yu <mingli.yu@windriver.com> 3Date: Thu, 19 Jul 2018 00:25:23 -0700 4Subject: [PATCH] Makefile.in: add DESTDIR 5 6Add DESTDIR to fix below error during do_install 7 8| install -d -m 755 -g root -p /usr/include 9| install -d -m 755 -g root -p /usr/lib 10| install -d -m 755 -g root -p /usr/bin 11| install -m 755 nfslock.so.0.1 /usr/lib 12| install -d -m 755 -g root -p /usr/share/man/man1 13| install: cannot create regular file '/usr/lib/nfslock.so.0.1': Permission denied 14| Makefile:78: recipe for target 'install_nfslib' failed 15| make: *** [install_nfslib] Error 1 16| make: *** Waiting for unfinished jobs.... 17| install -d -m 755 -g root -p /usr/share/man/man3 18| install -m 644 lockfile.h maillock.h /usr/include 19| install: cannot create regular file '/usr/include/lockfile.h': Permission denied 20| install: cannot create regular file '/usr/include/maillock.h': Permission denied 21| Makefile:64: recipe for target 'install_common' failed 22| make: *** [install_common] Error 1 23 24Upstream-Status: Inappropriate [oe specific] 25 26Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 27--- 28 Makefile.in | 10 +++++----- 29 1 file changed, 5 insertions(+), 5 deletions(-) 30 31diff --git a/Makefile.in b/Makefile.in 32index 9c74b35..8cbda1d 100644 33--- a/Makefile.in 34+++ b/Makefile.in 35@@ -12,11 +12,11 @@ CC = @CC@ 36 37 prefix = $(DESTDIR)@prefix@ 38 exec_prefix = @exec_prefix@ 39-bindir = @bindir@ 40-libdir = @libdir@ 41-mandir = @mandir@ 42-nfslockdir = @nfslockdir@ 43-includedir = @includedir@ 44+bindir = $(DESTDIR)@bindir@ 45+libdir = $(DESTDIR)@libdir@ 46+mandir = $(DESTDIR)@mandir@ 47+nfslockdir = $(DESTDIR)@nfslockdir@ 48+includedir = $(DESTDIR)@includedir@ 49 datarootdir = @datarootdir@ 50 MAILGROUP = @MAILGROUP@ 51 52-- 532.25.1 54 55