Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/rescue - implement `install' target with:
details: https://anonhg.NetBSD.org/src/rev/6c017f1ada2c
branches: trunk
changeset: 535428:6c017f1ada2c
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Aug 18 14:06:54 2002 +0000
description:
- implement `install' target with:
${PARSELIST} -v mode=install | ${MAKE} -f - install
- don't need ../common/Makefile.image any more
diffstat:
distrib/rescue/Makefile | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (37 lines):
diff -r c2e76b0507e8 -r 6c017f1ada2c distrib/rescue/Makefile
--- a/distrib/rescue/Makefile Sun Aug 18 14:03:42 2002 +0000
+++ b/distrib/rescue/Makefile Sun Aug 18 14:06:54 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/08/18 12:39:42 lukem Exp $
+# $NetBSD: Makefile,v 1.3 2002/08/18 14:06:54 lukem Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -9,8 +9,9 @@
CRUNCHBIN= rescue
CRUNCHENV= # empty - don't want SMALLPROG defined
LISTS= ${.CURDIR}/list
-MTREECONF= ${DISTRIBDIR}/common/mtree.dot
-IMAGEDEPENDS= ${CRUNCHBIN}
+TARGETDIR= ${DESTDIR}/rescue
+PARSELISTENV+= TARGETDIR=${TARGETDIR:Q}
+
.for f in bim edlabel fdisk ldconfig pdisk
PROG_${f}!= cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG
@@ -27,11 +28,10 @@
.include "${DISTRIBDIR}/common/Makefile.crunch"
-.include "${DISTRIBDIR}/common/Makefile.image"
+
+realall: ${CRUNCHBIN}
-realall: ${WORKBUILT} ${WORKSPEC}
-
-install:
-# XXX: implement
+install: ${CRUNCHBIN}
+ ${PARSELIST} -v mode=install ${LISTS} | ${MAKE} -f - install
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index