summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-11-17 13:35:12 +0000
committernyan <nyan@FreeBSD.org>2002-11-17 13:35:12 +0000
commitc819dd8860d3c71640c282927b43ea9677379dfb (patch)
treef48b21edd42a24b90a0b2a1dd91ce45294a519c0
parent53f6e9ca9956fce7893c4dc4d5411592f2913a74 (diff)
downloadFreeBSD-src-c819dd8860d3c71640c282927b43ea9677379dfb.zip
FreeBSD-src-c819dd8860d3c71640c282927b43ea9677379dfb.tar.gz
Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.
-rw-r--r--release/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 44e971c..5a80156 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -343,6 +343,10 @@ rerelease release:
if [ -f /etc/resolv.conf ]; then \
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
fi
+.if defined(EXTLOCALDIR)
+ rm -rf ${CHROOTDIR}/usr/local
+ cd ${CHROOTDIR}/usr && cp -R ${EXTLOCALDIR} local
+.endif
rm -rf ${CHROOTDIR}/usr/src
.if defined(EXTSRCDIR)
cd ${CHROOTDIR}/usr && \
OpenPOWER on IntegriCloud