aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2011-05-15 00:17:32 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2011-05-15 00:17:32 +0000
commit9f55ea084de711a02b6d7c73cf394992e7b71547 (patch)
treee947aa544f358ec4114516e3c444d3476e5755a6 /bootscripts
parentdc55fb5e4b99cd1150afe41f7ce50333a773bb6a (diff)
Fix DESTDIR installation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9533 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/contrib/lsb-v3/Makefile2
1 files changed, 2 insertions, 0 deletions
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