Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Automate the MD `make release|snapshot' procedure.
details: https://anonhg.NetBSD.org/src/rev/4d7b63bbb96f
branches: trunk
changeset: 499616:4d7b63bbb96f
user: scw <scw%NetBSD.org@localhost>
date: Fri Nov 24 19:49:40 2000 +0000
description:
Automate the MD `make release|snapshot' procedure.
[I should have done this ages ago.]
diffstat:
distrib/mvme68k/Makefile | 7 +++++++
distrib/mvme68k/miniroot/Makefile | 18 ++++++++++++++++++
etc/etc.mvme68k/Makefile.inc | 31 +++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+), 0 deletions(-)
diffs (68 lines):
diff -r 6f33e0b62d97 -r 4d7b63bbb96f distrib/mvme68k/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/mvme68k/Makefile Fri Nov 24 19:49:40 2000 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile,v 1.1 2000/11/24 19:49:40 scw Exp $
+
+SUBDIR= ramdisk
+
+TARGETS+=release
+
+.include <bsd.subdir.mk>
diff -r 6f33e0b62d97 -r 4d7b63bbb96f distrib/mvme68k/miniroot/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/mvme68k/miniroot/Makefile Fri Nov 24 19:49:40 2000 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2000/11/24 19:49:40 scw Exp $
+
+all:
+
+clean cleandir distclean:
+ -rm -f a.out core *.core *.o
+
+.if !defined(RELEASEDIR)
+release:
+ @echo setenv RELEASEDIR before doing that!
+ @false
+.else # RELEASEDIR
+release:
+ -mkdir -p ${RELEASEDIR}/installation/miniroot
+ gzip < ${.CURDIR}/../../miniroot/miniroot \
+ > ${RELEASEDIR}/installation/miniroot/miniroot.gz
+.endif # RELEASEDIR
+
diff -r 6f33e0b62d97 -r 4d7b63bbb96f etc/etc.mvme68k/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/etc.mvme68k/Makefile.inc Fri Nov 24 19:49:40 2000 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.inc,v 1.1 2000/11/24 19:49:40 scw Exp $
+#
+# etc.mvme68k/Makefile.inc -- mvme68k-specific etc Makefile targets
+#
+
+# These are packaged and distributed
+EXTRA_KERNELS+= VME147 VME162 VME167 VME172 VME177
+
+# These are for use by the bootfloppy construction tools
+BUILD_KERNELS+= RAMDISK
+INSTALLATION_DIRS += installation/miniroot
+INSTALLATION_DIRS += installation/netboot
+INSTALLATION_DIRS += installation/tapeimage
+
+# Tar up extra kernel sets.
+# Build the boot floppies and install them
+snap_md_post:
+.ifndef UPDATE
+ cd ${.CURDIR}/../distrib && ${MAKE} cleandir
+.endif
+ cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
+ cd ${.CURDIR}/../distrib/mvme68k && ${MAKE} release
+ cd ${.CURDIR}/../distrib/notes && ${MAKE} release
+ cp -p ${DESTDIR}/usr/mdec/sboot ${RELEASEDIR}/installation/netboot
+ cp -p ${DESTDIR}/usr/mdec/netboot ${RELEASEDIR}/installation/netboot
+ cp -p ${DESTDIR}/usr/mdec/stboot ${RELEASEDIR}/installation/tapeimage
+ cp -p ${DESTDIR}/usr/mdec/bootst ${RELEASEDIR}/installation/tapeimage
+ sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/miniroot
+ sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/netboot
+ sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/tapeimage
+
Home |
Main Index |
Thread Index |
Old Index