summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index e5958fc..8b451ff 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -945,6 +945,16 @@ cdrom.2:
@mkdir -p ${CD_DISC2}
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
@echo "CD_VOLUME = 2" >> ${CD_DISC2}/cdrom.inf
+.if !defined(NODOC)
+ @mkdir -p ${CD_DISC2}/usr/share/doc
+ @for i in `ls ${CD_LIVEFS}/usr/share/doc`; do \
+ if [ -L ${CD_LIVEFS}/usr/share/doc/$$i -o \
+ -d /usr/doc/$$i ]; then \
+ mv ${CD_LIVEFS}/usr/share/doc/$$i \
+ ${CD_DISC2}/usr/share/doc; \
+ fi \
+ done
+.endif
touch ${.TARGET}
#
@@ -998,6 +1008,7 @@ iso.1:
FreeBSD_LiveFS \
${CD}/${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
.endif
+ @echo "Generating MD5 sums..."
@(cd ${CD} && md5 *.iso > ${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
touch ${.TARGET}
.else
OpenPOWER on IntegriCloud