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
This commit is contained in:
Wilko Bulte 2000-01-19 22:48:50 +00:00
parent 18338e9e0f
commit 8e0f26e8b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56299

View File

@ -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)