Source-Changes-HG archive

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

[src/trunk]: src/distrib/pmax Add BINDIR and an install rule to install into ...



details:   https://anonhg.NetBSD.org/src/rev/f8faf88c7f07
branches:  trunk
changeset: 472317:f8faf88c7f07
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Apr 27 12:03:39 1999 +0000

description:
Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}.

diffstat:

 distrib/pmax/instkernel/Makefile |   8 +++++++-
 distrib/pmax/ramdisk/Makefile    |  10 ++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r e19fb6a5e366 -r f8faf88c7f07 distrib/pmax/instkernel/Makefile
--- a/distrib/pmax/instkernel/Makefile  Tue Apr 27 11:36:47 1999 +0000
+++ b/distrib/pmax/instkernel/Makefile  Tue Apr 27 12:03:39 1999 +0000
@@ -1,5 +1,6 @@
-#      $NetBSD: Makefile,v 1.5 1999/04/27 01:34:49 simonb Exp $
+#      $NetBSD: Makefile,v 1.6 1999/04/27 12:03:39 simonb Exp $
 
+BINDIR=                /installation/diskimage
 
 IMAGE=         diskimage
 IMAGESIZE=     4096 # 512 byte blocks
@@ -46,8 +47,13 @@
        vnconfig -u ${VND_DEV}
        gzip -9 ${IMAGE}
 
+realinstall:
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
+               -m ${NONBINMODE} ${IMAGE}.gz ${RELEASEDIR}${BINDIR}
+
 clean cleandir distclean:
        rm -f ${CLEANFILES}
 
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
+.include "../Makefile.inc"
diff -r e19fb6a5e366 -r f8faf88c7f07 distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile     Tue Apr 27 11:36:47 1999 +0000
+++ b/distrib/pmax/ramdisk/Makefile     Tue Apr 27 12:03:39 1999 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile,v 1.4 1999/04/27 01:37:13 simonb Exp $
+#      $NetBSD: Makefile,v 1.5 1999/04/27 12:03:40 simonb Exp $
+
+BINDIR=                /installation/netboot
 
 TOP?=          ${.CURDIR}/..
 ARCHDIR?=        ${.CURDIR}/../../${MACHINE}/miniroot
@@ -56,9 +58,13 @@
 ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
        make -f ${CBIN}.mk all
 
+realinstall:
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
+               -m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}
+
 clean cleandir distclean:
        /bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
 
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
-.include <bsd.subdir.mk>
+.include "../Makefile.inc"



Home | Main Index | Thread Index | Old Index