Source-Changes-HG archive

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

[src/netbsd-1-4]: src/distrib/macppc/floppies Apply patch (requested by toddpw):



details:   https://anonhg.NetBSD.org/src/rev/65ac3f01dae6
branches:  netbsd-1-4
changeset: 470446:65ac3f01dae6
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 01 00:12:22 2000 +0000

description:
Apply patch (requested by toddpw):
  Support the ``release'' target.

diffstat:

 distrib/macppc/floppies/Makefile            |   4 +++-
 distrib/macppc/floppies/bootfloppy/Makefile |  14 +++++++++++++-
 distrib/macppc/floppies/ramdisk/Makefile    |   4 +++-
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 6a00772e2e41 -r 65ac3f01dae6 distrib/macppc/floppies/Makefile
--- a/distrib/macppc/floppies/Makefile  Wed Mar 01 00:05:40 2000 +0000
+++ b/distrib/macppc/floppies/Makefile  Wed Mar 01 00:12:22 2000 +0000
@@ -1,5 +1,7 @@
-#      $NetBSD: Makefile,v 1.2 1999/01/27 12:04:32 tsubai Exp $
+#      $NetBSD: Makefile,v 1.2.2.1 2000/03/01 00:12:22 he Exp $
 
 SUBDIR=        ramdisk bootfloppy
 
+TARGETS+=release
+
 .include <bsd.subdir.mk>
diff -r 6a00772e2e41 -r 65ac3f01dae6 distrib/macppc/floppies/bootfloppy/Makefile
--- a/distrib/macppc/floppies/bootfloppy/Makefile       Wed Mar 01 00:05:40 2000 +0000
+++ b/distrib/macppc/floppies/bootfloppy/Makefile       Wed Mar 01 00:12:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 1999/03/04 20:32:20 wrstuden Exp $
+#      $NetBSD: Makefile,v 1.3.2.1 2000/03/01 00:12:22 he Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -72,4 +72,16 @@
 real-floppy:
        dd if=${IMAGE} of=${FD_RDEV} bs=45k
 
+.ifdef RELEASEDIR
+release:
+       -mkdir -p ${RELEASEDIR}/installation/floppy
+       cp -p ${IMAGE} ${RELEASEDIR}/installation/floppy
+       gzip -c -9 < ${IMAGE} > ${RELEASEDIR}/installation/floppy/${IMAGE}.gz
+.else
+release:
+       @echo Set RELEASEDIR before making release.
+.endif
+
+depend:
+
 .include <bsd.obj.mk>
diff -r 6a00772e2e41 -r 65ac3f01dae6 distrib/macppc/floppies/ramdisk/Makefile
--- a/distrib/macppc/floppies/ramdisk/Makefile  Wed Mar 01 00:05:40 2000 +0000
+++ b/distrib/macppc/floppies/ramdisk/Makefile  Wed Mar 01 00:12:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4.2.2 2000/02/23 22:31:31 he Exp $
+#      $NetBSD: Makefile,v 1.4.2.3 2000/03/01 00:12:22 he Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -59,6 +59,8 @@
 clean cleandir distclean:
        /bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
 
+release:
+
 .include <bsd.obj.mk>
 .include <bsd.subdir.mk>
 



Home | Main Index | Thread Index | Old Index