From 9f55ea084de711a02b6d7c73cf394992e7b71547 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sun, 15 May 2011 00:17:32 +0000 Subject: Fix DESTDIR installation. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9533 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/contrib/lsb-v3/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootscripts') diff --git a/bootscripts/contrib/lsb-v3/Makefile b/bootscripts/contrib/lsb-v3/Makefile index 98c0fa0b7..c7fbce179 100644 --- a/bootscripts/contrib/lsb-v3/Makefile +++ b/bootscripts/contrib/lsb-v3/Makefile @@ -7,6 +7,7 @@ CONFMODE=644 all: install create-dirs: + if test ! -d /${DESTDIR}; then install -d -m ${DIRMODE} ${EXTDIR}; fi install -d -m ${DIRMODE} ${EXTDIR}/rc0.d install -d -m ${DIRMODE} ${EXTDIR}/rc1.d install -d -m ${DIRMODE} ${EXTDIR}/rc2.d @@ -18,6 +19,7 @@ create-dirs: install -d -m ${DIRMODE} ${EXTDIR}/init.d install -d -m ${DIRMODE} ${EXTDIR}/default install -d -m ${DIRMODE} ${EXTDIR}/network + install -d -m ${DIRMODE} ${DESTDIR}/sbin install -d -m ${DIRMODE} ${DESTDIR}/lib/lsb install -d -m ${DIRMODE} ${EXTDIR}/lsb/state install -d -m ${DIRMODE} ${DESTDIR}/lib/network-services -- cgit v1.2.3-54-g00ecf