Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/pmax/ramdisk use ${IMAGETAR} support from Makefile.i...
details: https://anonhg.NetBSD.org/src/rev/dc19369cb310
branches: trunk
changeset: 525486:dc19369cb310
user: lukem <lukem%NetBSD.org@localhost>
date: Fri Apr 12 05:15:18 2002 +0000
description:
use ${IMAGETAR} support from Makefile.image
diffstat:
distrib/pmax/ramdisk/Makefile | 25 +++++++------------------
1 files changed, 7 insertions(+), 18 deletions(-)
diffs (45 lines):
diff -r 9a5083ab2ea4 -r dc19369cb310 distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile Fri Apr 12 05:11:17 2002 +0000
+++ b/distrib/pmax/ramdisk/Makefile Fri Apr 12 05:15:18 2002 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.25 2002/04/12 03:28:06 lukem Exp $
+# $NetBSD: Makefile,v 1.26 2002/04/12 05:15:18 lukem Exp $
-.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.own.mk>
-
-DISKIMAGE= diskimage.tgz
+.include "${_SRC_TOP_}/distrib/Makefile.inc"
IMAGE= ramdisk.fs
-IMAGESIZE= 6144b
+IMAGETAR= diskimage.tgz
+IMAGESIZE= 3m
MAKEFS_FLAGS= -f 15
WARNS= 1
@@ -31,21 +30,11 @@
${CRUNCHBIN}: libhack.o
-${DISKIMAGE}: ${WORKBUILT} ${WORKSPEC}
- ( cd ${WORKDIR}; \
- GZIP=-9 ${PAX} -w -d -z -N ${DESTDIR}/etc -M < ${WORKSPEC} \
- ) > ${.TARGET}.tmp \
- && mv ${.TARGET}.tmp ${.TARGET}
-
-CLEANFILES+= ${DISKIMAGE} ${DISKIMAGE}.tmp
+realall: ${IMAGE} .WAIT ${IMAGETAR}
-
-
-realall: ${IMAGE} .WAIT ${DISKIMAGE}
-
-release: check_RELEASEDIR .WAIT ${DISKIMAGE}
+release: check_RELEASEDIR .WAIT ${IMAGETAR}
-mkdir -p ${RELEASEDIR}/installation/netboot
- ${RELINSTALL} ${DISKIMAGE} ${RELEASEDIR}/installation/netboot
+ ${RELINSTALL} ${IMAGETAR} ${RELEASEDIR}/installation/netboot
.include "${DISTRIBDIR}/common/Makefile.crunch"
Home |
Main Index |
Thread Index |
Old Index