diff options
author | phk <phk@FreeBSD.org> | 1994-11-20 01:01:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-11-20 01:01:28 +0000 |
commit | 32525719d6ca1b793f2a335ede68d03a6f9254d9 (patch) | |
tree | 823a0d75c09874b087c90719bf07ba197aed2b6b | |
parent | bc27a932fa17cf66eabd07d75f81262f03a78b30 (diff) | |
download | FreeBSD-src-32525719d6ca1b793f2a335ede68d03a6f9254d9.zip FreeBSD-src-32525719d6ca1b793f2a335ede68d03a6f9254d9.tar.gz |
Make the tarballs target work.
-rw-r--r-- | release/Makefile | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile index 0077288..3f29196 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.48 1994/11/17 15:19:59 jkh Exp $ +# $Id: Makefile,v 1.49 1994/11/18 01:05:05 phk Exp $ # # Evil floppies are, of course, 1.2MB floppies. @@ -54,6 +54,8 @@ kernel: ${.CURDIR}/../sys/i386/conf/GENERIC (cd ${.CURDIR}/../sys/compile/GENERIC; ${MAKE} depend; ${MAKE} all; ) boot.flp: + crunchgen ${.CURDIR}/boot_flp.conf + ${MAKE} -f boot_flp.mk objs exe -umount ${MNT} -umount /dev/${FLOPPY} # echo y | fdformat ${FLOPPY} @@ -146,7 +148,8 @@ bar: DESTDIR=${RELEASEDIR}/filesys \ SHARED=copies ) -DISTRIBUTIONS= bindist des games manpages proflibs dict +EXTRADISTRIBUTIONS= des games manpages proflibs dict +DISTRIBUTIONS= bindist ${EXTRADISTRIBUTIONS} MTREEFILES= ${.CURDIR}/../etc/mtree distribute: @@ -165,4 +168,26 @@ distribute: install ${COPY} -m 644 ${.CURDIR}/../sys/compile/GENERIC/kernel \ ${RELEASEDIR}/bindist/kernel +tarballs: + rm -rf ${RELEASEDIR}/manpages/usr/share/man + mv ${RELEASEDIR}/bindist/usr/share/man \ + ${RELEASEDIR}/manpages/usr/share/man + rm -rf ${RELEASEDIR}/dict/usr/share/dict + mv ${RELEASEDIR}/bindist/usr/share/dict \ + ${RELEASEDIR}/dict/usr/share/dict + mv ${RELEASEDIR}/bindist/usr/lib/*_p.a \ + ${RELEASEDIR}/proflibs/usr/lib + -cd ${RELEASEDIR} ; \ + find ${EXTRADISTRIBUTIONS} -depth -type d -print | xargs rmdir + rm -rf ${RELEASEDIR}/tarballs + mkdir ${RELEASEDIR}/tarballs + for i in ${DISTRIBUTIONS} ; \ + do \ + mkdir ${RELEASEDIR}/tarballs/$${i} ; \ + ( cd ${RELEASEDIR}/$${i}; \ + tar cf - . | \ + ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/$$i/$${i}_tgz.) ; \ + ( cd ${RELEASEDIR}/tarballs/$${i}; sh -e ${.CURDIR}/mkchecksums.sh ) ; \ + done + .include <bsd.prog.mk> |