summaryrefslogtreecommitdiff
path: root/distrib/mvmeppc/ramdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/mvmeppc/ramdisk/Makefile')
-rw-r--r--distrib/mvmeppc/ramdisk/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/distrib/mvmeppc/ramdisk/Makefile b/distrib/mvmeppc/ramdisk/Makefile
index 7bff2301164..e26c9ce8f7f 100644
--- a/distrib/mvmeppc/ramdisk/Makefile
+++ b/distrib/mvmeppc/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2009/04/12 16:12:53 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2009/04/17 03:58:54 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -78,9 +78,6 @@ unconfig:
.PRECIOUS: ${IMAGE}
-install:
- cp ${BSD_RD} cd${REV}.fs ${DESTDIR}/snapshot/
-
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CBIN}.conf
crunchgen -E -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
@@ -91,7 +88,7 @@ do_files:
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
- sh ${TOP}/runlist.sh ${LISTS}
+ RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
rm ${MOUNT_POINT}/${CBIN}
clean cleandir:
@@ -99,8 +96,10 @@ clean cleandir:
*.o *.lo *.c bsd ${BSD_RD} \
rdsetroot
-beforeinstall:
- cp ${BSD.RD} cd${REV}.fs ${DESTDIR}/snapshot
+.ifdef RELEASEDIR
+install:
+ cp ${BSD.RD} cd${REV}.fs ${RELEASEDIR}
+.endif
.include <bsd.obj.mk>
.include <bsd.subdir.mk>