Source-Changes-HG archive

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

[src/trunk]: src/distrib/sun2 use ${RELINSTALL} instead of cp -p



details:   https://anonhg.NetBSD.org/src/rev/a67527a85809
branches:  trunk
changeset: 526139:a67527a85809
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Apr 26 02:54:59 2002 +0000

description:
use ${RELINSTALL} instead of cp -p

diffstat:

 distrib/sun2/Makefile |  19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diffs (30 lines):

diff -r a600c82634ae -r a67527a85809 distrib/sun2/Makefile
--- a/distrib/sun2/Makefile     Fri Apr 26 02:51:47 2002 +0000
+++ b/distrib/sun2/Makefile     Fri Apr 26 02:54:59 2002 +0000
@@ -1,18 +1,15 @@
-#      $NetBSD: Makefile,v 1.3 2002/04/22 21:17:48 fredette Exp $
+#      $NetBSD: Makefile,v 1.4 2002/04/26 02:54:59 lukem Exp $
 
-SUBDIR= ramdisk miniroot
-TARGETS= all release
+SUBDIR=                ramdisk miniroot
+TARGETS+=      release
 
 release:
        -mkdir -p ${RELEASEDIR}/installation/netboot
-       cp -p ${DESTDIR}/usr/mdec/bootyy \
-         ${RELEASEDIR}/installation/netboot/
-       cp -p ${DESTDIR}/usr/mdec/netboot \
-         ${RELEASEDIR}/installation/netboot/
+       ${RELINSTALL} ${DESTDIR}/usr/mdec/bootyy ${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 \
+           ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
+           ${RELEASEDIR}/installation/tapeimage
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index