summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-08-05 08:37:31 +0000
committerjkh <jkh@FreeBSD.org>1999-08-05 08:37:31 +0000
commitfaee7df917a07b37da8f9e59450103f6829e5ab4 (patch)
treeadd6154c5cb0413e00c9f8d3b86f64956349b3d1
parent2aa0a6c4f036ace78b3186f39318e29d8b188d5b (diff)
downloadFreeBSD-src-faee7df917a07b37da8f9e59450103f6829e5ab4.zip
FreeBSD-src-faee7df917a07b37da8f9e59450103f6829e5ab4.tar.gz
I was clearly smoking crack when I committed the change to allow for
architecture-specific docs on the boot floppy and CDROM. Do it right this time. Noticed by: jhay
-rw-r--r--release/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile
index 939de2f..029572f 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.501 1999/08/04 17:30:00 jkh Exp $
+# $Id: Makefile,v 1.502 1999/08/05 01:28:00 jkh Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@@ -541,7 +541,13 @@ ftp.1:
@mkdir -p ${FD}
@cd ${RD} && find floppies -print | cpio -dumpl ${FD}
@cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
- @for i in ${DIST_DOCS}; do if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$$i ]; then cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; else cp ${.CURDIR}/texts/$${i} ${FD}; fi; done
+ @for i in ${DIST_DOCS}; do \
+ if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
+ cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; \
+ else \
+ cp ${.CURDIR}/texts/$${i} ${FD}; \
+ fi; \
+ done
@echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
.if !defined(NOPORTS)
@tar --exclude CVS -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
@@ -568,7 +574,13 @@ cdrom.1:
@cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile
@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}; done
+ @for i in ${DIST_DOCS}; do \
+ if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
+ cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${CD_DISC1}; \
+ else \
+ cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
+ fi; \
+ done
.if !defined(NOPORTS)
@-rm -rf /usr/ports/distfiles/*
@mkdir -p ${CD_DISC1}/ports && \
OpenPOWER on IntegriCloud