Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/f9fc9d983c87
branches:  netbsd-1-4
changeset: 470447:f9fc9d983c87
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 01 00:15:09 2000 +0000

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

diffstat:

 distrib/miniroot/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 65ac3f01dae6 -r f9fc9d983c87 distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Wed Mar 01 00:12:22 2000 +0000
+++ b/distrib/miniroot/Makefile Wed Mar 01 00:15:09 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 1998/11/16 23:43:58 jonathan Exp $
+#      $NetBSD: Makefile,v 1.19.2.1 2000/03/01 00:15:09 he Exp $
 
 .include <bsd.own.mk>
 
@@ -71,6 +71,15 @@
        /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
        ${CBIN}.conf *.o *.lo *.c
 
+.ifndef RELEASEDIR
+release:
+       @echo setenv RELEASEDIR first
+       @false
+.else
+release: $(IMAGE)
+       gzip -c -9 < $(.OBJDIR)/miniroot-${REV}.fs \
+               > $(RELEASEDIR)/installation/miniroot/miniroot-${REV}.fs.gz
+.endif # RELEASEDIR check
 .endif # DESTDIR check
 .include <bsd.obj.mk>
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index