Subject: x68k/installation/misc
To: None <tech-install@netbsd.org, port-x68k@netbsd.org>
From: Tetsuya Isaki <isaki@NetBSD.org>
List: port-x68k
Date: 10/27/2002 18:16:03
----Next_Part(Sun_Oct_27_18:15:42_2002_595)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I wrote what prepares ${RELEASEDIR}/installation/misc of x68k.
But I have one question.  Is 300MB gzip+uuencode'd file
reasonable?  If there is no problem, I'll commit it.

The attached patch modifies or adds:
 - sys/arch/x68k/stand/loadbsd/Makefile
 - distrib/x68k/Makefile
 - distrib/x68k/stand/Makefile
 - distrib/x68k/stand/gzip.uue    (293922 bytes, *1)
 - distrib/x68k/stand/rawrite.uue ( 39559 bytes, *1)

 (*1) these are not attached to this mail.  You can find
 these in http://www.tri-tree.gr.jp/~isaki/NetBSD/patch/

when you finish build.sh with this patch,  installation/misc
is like below:

 isaki@erika:/var/obj/x68k/rel/installation/misc% ls -l
 total 331
 -r--r--r--  1 isaki  users  161242 Jan 15  1995 gz124x5f.lzh
 -r--r--r--  1 isaki  users  101686 Feb 14  1999 gzip.x
 -r--r--r--  1 isaki  users    2790 Oct 27 17:58 loadbsd.0
 -r--r--r--  1 isaki  users    9866 Oct 27 17:58 loadbsd.x
 -r--r--r--  1 isaki  users     206 May 10  1999 rawrite.doc
 -r--r--r--  1 isaki  users   14146 Dec 14  1998 rawrite.lzh
 -r--r--r--  1 isaki  users   23136 Dec 14  1998 rawrite.x

Thanks.
---
Tetsuya Isaki <isaki@par.odn.ne.jp / isaki@NetBSD.org>

----Next_Part(Sun_Oct_27_18:15:42_2002_595)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="x68k-installation-misc.diff"

Index: sys/arch/x68k/stand/loadbsd/Makefile
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/x68k/stand/loadbsd/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- sys/arch/x68k/stand/loadbsd/Makefile	2002/05/18 13:54:39	1.9
+++ sys/arch/x68k/stand/loadbsd/Makefile	2002/10/27 08:26:19
@@ -38,6 +38,9 @@
 .endfor
 
 .ifdef RELEASEDIR
-release: ${PROG}
-	cp -ip ${PROG} ${RELEASEDIR}/installation/misc
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+release:
+	${RELEASE_INSTALL} ${PROG} ${RELEASEDIR}/installation/misc
+	${RELEASE_INSTALL} ${DESTDIR}/usr/share/man/cat8/x68k/loadbsd.0 \
+	      ${RELEASEDIR}/installation/misc
 .endif
Index: distrib/x68k/Makefile
===================================================================
RCS file: /cvsroot/basesrc/distrib/x68k/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- distrib/x68k/Makefile	2002/05/02 18:03:02	1.3
+++ distrib/x68k/Makefile	2002/10/27 08:21:10
@@ -1,6 +1,6 @@
 #	$NetBSD: Makefile,v 1.3 2002/05/02 18:03:02 lukem Exp $
 
-SUBDIR=		floppies
+SUBDIR=		floppies stand
 TARGETS+=	release
 
 .include <bsd.subdir.mk>
--- /dev/null	Sun Oct 27 16:36:21 2002
+++ distrib/x68k/stand/Makefile	Sun Oct 27 17:04:39 2002
@@ -0,0 +1,26 @@
+#	$NetBSD$
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+ARCHIVES=	gzip rawrite
+MEMBER_gzip=	gz124x5f.lzh gzip.x
+MEMBER_rawrite=	rawrite.doc rawrite.lzh rawrite.x
+
+.for archive in ${ARCHIVES}
+CLEANFILES+=	${archive}.tar.gz ${MEMBER_${archive}}
+.endfor
+
+realall:
+.for archive in ${ARCHIVES}
+	${UUDECODE} ${.CURDIR}/${archive}.uue
+	${PAX} -zrvpp -f ${archive}.tar.gz
+.endfor
+
+release:
+.for archive in ${ARCHIVES}
+	${RELEASE_INSTALL} -p ${MEMBER_${archive}} \
+		${RELEASEDIR}/installation/misc
+.endfor
+
+.include <bsd.prog.mk>

----Next_Part(Sun_Oct_27_18:15:42_2002_595)----