Source-Changes-HG archive

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

[src/trunk]: src/distrib use RELINSTALL



details:   https://anonhg.NetBSD.org/src/rev/343109cfab74
branches:  trunk
changeset: 526159:343109cfab74
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Apr 26 15:05:29 2002 +0000

description:
use RELINSTALL

diffstat:

 distrib/sun3/Makefile                                |  14 +++++++-------
 distrib/x68k/floppies/bootfloppy-common/Makefile.inc |   5 +++--
 distrib/x68k/floppies/inst/Makefile                  |   4 ++--
 distrib/x68k/floppies/instkernel-common/Makefile.inc |   7 ++++---
 4 files changed, 16 insertions(+), 14 deletions(-)

diffs (82 lines):

diff -r 492f72d1918a -r 343109cfab74 distrib/sun3/Makefile
--- a/distrib/sun3/Makefile     Fri Apr 26 15:05:18 2002 +0000
+++ b/distrib/sun3/Makefile     Fri Apr 26 15:05:29 2002 +0000
@@ -1,16 +1,16 @@
-#      $NetBSD: Makefile,v 1.4 2001/10/04 16:09:11 chs Exp $
+#      $NetBSD: Makefile,v 1.5 2002/04/26 15:05:29 lukem Exp $
 
 SUBDIR= ramdisk miniroot
 TARGETS= all release
 
 release:
        -mkdir -p ${RELEASEDIR}/installation/netboot
-       cp -p ${DESTDIR}/usr/mdec/netboot \
-         ${RELEASEDIR}/installation/netboot/
+       ${RELINSTALL} ${DESTDIR}/usr/mdec/netboot \
+           ${RELEASEDIR}/installation/netboot
        -mkdir -p ${RELEASEDIR}/installation/tapeimage
-       cp -p ${DESTDIR}/usr/mdec/tapeboot \
-         ${RELEASEDIR}/installation/tapeimage/
-       cp -p ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
-         ${RELEASEDIR}/installation/tapeimage/
+       ${RELINSTALL} ${DESTDIR}/usr/mdec/tapeboot \
+           ${RELEASEDIR}/installation/tapeimage
+       ${RELINSTALL} ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
+           ${RELEASEDIR}/installation/tapeimage
 
 .include <bsd.subdir.mk>
diff -r 492f72d1918a -r 343109cfab74 distrib/x68k/floppies/bootfloppy-common/Makefile.inc
--- a/distrib/x68k/floppies/bootfloppy-common/Makefile.inc      Fri Apr 26 15:05:18 2002 +0000
+++ b/distrib/x68k/floppies/bootfloppy-common/Makefile.inc      Fri Apr 26 15:05:29 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.20 2002/03/06 12:27:08 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.21 2002/04/26 15:08:21 lukem Exp $
 
 # TOP is assumed to be defined by Makefile including this one.
 
@@ -87,7 +87,8 @@
 
 release:
        -mkdir -p ${RELEASEDIR}/installation/floppy
-       cp -p ${BASENAME}*.fs ${RELEASEDIR}/installation/floppy
+       ${RELINSTALL} ${BASENAME}*.fs ${RELEASEDIR}/installation/floppy
+       # XXX: do we want this?
        for f in ${RELEASEDIR}/installation/floppy/${BASENAME}*.fs; do \
                gzip <$$f >$$f.gz; \
        done
diff -r 492f72d1918a -r 343109cfab74 distrib/x68k/floppies/inst/Makefile
--- a/distrib/x68k/floppies/inst/Makefile       Fri Apr 26 15:05:18 2002 +0000
+++ b/distrib/x68k/floppies/inst/Makefile       Fri Apr 26 15:05:29 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2001/11/14 00:58:49 tv Exp $
+#      $NetBSD: Makefile,v 1.10 2002/04/26 15:08:22 lukem Exp $
 
 .include <bsd.prog.mk>
 .MAIN: all
@@ -21,4 +21,4 @@
 
 release:
        -mkdir -p ${RELEASEDIR}/installation/floppy
-       cp -p inst.fs inst.fs.gz ${RELEASEDIR}/installation/floppy
+       ${RELINSTALL} inst.fs inst.fs.gz ${RELEASEDIR}/installation/floppy
diff -r 492f72d1918a -r 343109cfab74 distrib/x68k/floppies/instkernel-common/Makefile.inc
--- a/distrib/x68k/floppies/instkernel-common/Makefile.inc      Fri Apr 26 15:05:18 2002 +0000
+++ b/distrib/x68k/floppies/instkernel-common/Makefile.inc      Fri Apr 26 15:05:29 2002 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile.inc,v 1.1 2001/12/07 06:57:50 minoura Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2002/04/26 15:08:22 lukem Exp $
+
+# XXXDISTRIB: NDWO
 
 .include <bsd.kernobj.mk>
 
@@ -36,8 +38,7 @@
        -mkdir -p ${RELEASEDIR}/installation/floppy
        -mkdir -p ${RELEASEDIR}/installation/misc
 .ifndef NOKERNCOPY
-       cp -p ${KERNNAME} ${RELEASEDIR}/binary/kernel
-       cp -p ${GZNAME} ${RELEASEDIR}/binary/kernel
+       ${RELINSTALL} ${KERNNAME} ${GZNAME} ${RELEASEDIR}/binary/kernel
 .endif
 
 clean cleandir distclean:



Home | Main Index | Thread Index | Old Index