diff options
Diffstat (limited to 'distrib/sparc64/ramdisk/Makefile')
-rw-r--r-- | distrib/sparc64/ramdisk/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile index 41061d4f34f..13c20906007 100644 --- a/distrib/sparc64/ramdisk/Makefile +++ b/distrib/sparc64/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.20 2008/12/02 01:01:08 deraadt Exp $ +# $OpenBSD: Makefile,v 1.21 2009/04/17 03:58:55 deraadt Exp $ TOP= ${.CURDIR}/.. @@ -110,9 +110,6 @@ unconfig: .PRECIOUS: ${IMAGE} -install: - cp ${FLOPPY} ${DESTDIR}/snapshot/ - ${CBIN}.conf: ${LISTS} awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf @@ -124,17 +121,19 @@ ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c do_files: mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u - TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \ - REV=${REV} ARCHDIR=${.CURDIR}/.. TARGDIR=${MOUNT_POINT} \ - UTILS=${UTILS} sh ${UTILS}/runlist.sh ${LISTS} + TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} REV=${REV} \ + ARCHDIR=${.CURDIR}/.. TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \ + RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS} rm ${MOUNT_POINT}/${CBIN} clean cleandir: /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \ *.o *.lo *.c bsd ${BSD_RD} bsd.gz ${FLOPPY} elfrdsetroot -beforeinstall: - cp ${BSD.RD} ${DESTDIR}/snapshot +.ifdef RELEASEDIR +install: + cp ${FLOPPY} ${BSD.RD} ${RELEASEDIR} +.endif .include <bsd.obj.mk> .include <bsd.subdir.mk> |