Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src Apply patch (requested by minoura):



details:   https://anonhg.NetBSD.org/src/rev/3b468c23b2e4
branches:  netbsd-1-4
changeset: 470812:3b468c23b2e4
user:      he <he%NetBSD.org@localhost>
date:      Thu Jul 27 17:55:22 2000 +0000

description:
Apply patch (requested by minoura):
  Improve ``make release'' target, following the MI changes.

diffstat:

 distrib/x68k/floppies/bootfloppy-common/Makefile.inc |  9 +++++----
 distrib/x68k/floppies/ramdisk/Makefile               |  7 +------
 etc/etc.x68k/Makefile.inc                            |  9 +++++----
 3 files changed, 11 insertions(+), 14 deletions(-)

diffs (64 lines):

diff -r 282f0997af8d -r 3b468c23b2e4 distrib/x68k/floppies/bootfloppy-common/Makefile.inc
--- a/distrib/x68k/floppies/bootfloppy-common/Makefile.inc      Thu Jul 27 17:54:28 2000 +0000
+++ b/distrib/x68k/floppies/bootfloppy-common/Makefile.inc      Thu Jul 27 17:55:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.8.2.2 2000/07/09 21:44:36 he Exp $
+#      $NetBSD: Makefile.inc,v 1.8.2.3 2000/07/27 17:55:22 he Exp $
 
 # TOP is assumed to be defined by Makefile including this one.
 
@@ -64,9 +64,10 @@
 
 release:
        cp -p ${IMAGE} ${RELEASEDIR}/installation/floppy
-       cp -ip ${GZNAME} ${RELEASEDIR}/installation/misc
-       cp -ip ${KERNNAME} ${RELEASEDIR}/installation/misc
-       cp -ip ${MDEC}/loadbsd.x ${RELEASEDIR}/installation/misc
+       gzip -cv9 ${IMAGE} > ${RELEASEDIR}/installation/floppy/${IMAGE}.gz
+       cp -p ${GZNAME} ${RELEASEDIR}/installation/misc
+       cp -p ${KERNNAME} ${RELEASEDIR}/installation/misc
+       cp -p ${MDEC}/loadbsd.x ${RELEASEDIR}/installation/misc
 
 clean cleandir distclean:
        /bin/rm -f *.core ${IMAGE} ${CLEANFILES}
diff -r 282f0997af8d -r 3b468c23b2e4 distrib/x68k/floppies/ramdisk/Makefile
--- a/distrib/x68k/floppies/ramdisk/Makefile    Thu Jul 27 17:54:28 2000 +0000
+++ b/distrib/x68k/floppies/ramdisk/Makefile    Thu Jul 27 17:55:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7.2.3 2000/07/09 21:45:02 he Exp $
+#      $NetBSD: Makefile,v 1.7.2.4 2000/07/27 17:55:22 he Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -70,10 +70,5 @@
 clean cleandir distclean:
        /bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
 
-.if make(clean) || make(cleandir) || make(distclean) || make(depend) || make(obj)
-UTILDIR=       ../../../utils
-SUBDIR+=       ${UTILDIR}/init_s ${UTILDIR}/x_ifconfig ${UTILDIR}/x_route
-.endif
-
 .include <bsd.obj.mk>
 .include <bsd.subdir.mk>
diff -r 282f0997af8d -r 3b468c23b2e4 etc/etc.x68k/Makefile.inc
--- a/etc/etc.x68k/Makefile.inc Thu Jul 27 17:54:28 2000 +0000
+++ b/etc/etc.x68k/Makefile.inc Thu Jul 27 17:55:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.6.2.1 2000/07/09 21:45:35 he Exp $
+#      $NetBSD: Makefile.inc,v 1.6.2.2 2000/07/27 17:55:55 he Exp $
 #
 #      etc.x68k/Makefile.inc -- x68k-specific etc Makefile targets
 #
@@ -15,7 +15,8 @@
 
 snap_md_post:
 .ifndef UPDATE
-       cd ${.CURDIR}/../distrib/${MACHINE}/floppies && ${MAKE} clean
+       cd ${.CURDIR}/../distrib && ${MAKE} cleandir
 .endif
-       cd ${.CURDIR}/../distrib/${MACHINE}/floppies && \
-               ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release
+       cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
+       cd ${.CURDIR}/../distrib/${MACHINE} && ${MAKE} release
+       sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/floppy '*.gz' '*.fs'



Home | Main Index | Thread Index | Old Index