summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorwilko <wilko@FreeBSD.org>2000-01-19 22:48:50 +0000
committerwilko <wilko@FreeBSD.org>2000-01-19 22:48:50 +0000
commit9f03ccf8afffb9ce149564abd7dd75e1bd943627 (patch)
tree052caa19650cee8051663d9d415227c89965c73c /release
parentc67a07f9044f4c118aa469bbd95a7d6007921f56 (diff)
downloadFreeBSD-src-9f03ccf8afffb9ce149564abd7dd75e1bd943627.zip
FreeBSD-src-9f03ccf8afffb9ce149564abd7dd75e1bd943627.tar.gz
Allow automatic 'pulling in' of machdep *.TXT files from ./texts/[alpha,i386]
and concat these to the corresponding generic *.TXT living in ./texts This is currently aimed at HARDWARE.TXT but works for things like RELNOTES.TXT too. Reviewed by: jkh
Diffstat (limited to 'release')
-rw-r--r--release/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/Makefile b/release/Makefile
index 46650ce..c67d84f 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -527,10 +527,10 @@ ftp.1:
@cd ${RD} && find floppies -print | cpio -dumpl ${FD}
@cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
@for i in ${DIST_DOCS}; do \
+ cp ${.CURDIR}/texts/$${i} ${FD}; \
if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
- cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; \
- else \
- cp ${.CURDIR}/texts/$${i} ${FD}; \
+ echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \
+ cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${FD}/$${i}; \
fi; \
done
@echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
@@ -560,10 +560,10 @@ cdrom.1:
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
@for i in ${DIST_DOCS}; do \
+ cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
- cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${CD_DISC1}; \
- else \
- cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
+ echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \
+ cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${CD_DISC1}/$${i}; \
fi; \
done
.if !defined(NOPORTS)
OpenPOWER on IntegriCloud