From 9f03ccf8afffb9ce149564abd7dd75e1bd943627 Mon Sep 17 00:00:00 2001 From: wilko Date: Wed, 19 Jan 2000 22:48:50 +0000 Subject: 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 --- release/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'release') 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) -- cgit v1.1