From dce749449c098358a1a7682f22e3ee8b304ed6d6 Mon Sep 17 00:00:00 2001 From: David Rhodus Date: Sun, 10 Apr 2005 20:27:32 +0000 Subject: [PATCH] Add in a 'livecd' taget for those who don't want to include the installer program in their ISO image file. --- nrelease/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nrelease/Makefile b/nrelease/Makefile index d2c58a39a2..b9fbd39a5c 100644 --- a/nrelease/Makefile +++ b/nrelease/Makefile @@ -1,4 +1,4 @@ -# $DragonFly: src/nrelease/Makefile,v 1.30 2005/04/08 04:22:28 dillon Exp $ +# $DragonFly: src/nrelease/Makefile,v 1.31 2005/04/10 20:27:32 drhodus Exp $ # ISODIR ?= /usr/release @@ -47,6 +47,8 @@ quickrel: check clean buildworld2 buildkernel2 \ realquickrel: check clean \ buildiso customizeiso pkgaddiso mklocatedb mkiso +livecd: check_mkisofs clean buildiso mkiso + ######################################################################### # ISO TARGETS WITH INSTALLER # ######################################################################### @@ -78,12 +80,16 @@ installer_realquickrel: # HELPER TARGETS # ######################################################################### -check: +check: check_mkisofs check_installer + +check_mkisofs: @if [ ! -f /usr/local/bin/mkisofs ]; then \ echo "You need to install the sysutils/cdrtools port for"; \ echo "this target"; \ exit 1; \ fi + +check_installer: .for PKG in ${REL_PACKAGES} @if [ ! -f ${PACKAGES_LOC}/${PKG}.tgz ]; then \ echo "Unable to find ${PACKAGES_LOC}/${PKG}.tgz. This is"; \ -- 2.41.0