Subject: "make install" for kernel build?
To: BSD Current Users <current-users@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 02/27/2000 08:12:14
Would I be considered a blasphemer/heretic were I to suggest an "install"
target for the kernel Makefile?  To wit:

.if defined(COMPRESS_KERNEL)
KERNEL=netbsd.gz
.else
KERNEL=netbsd
.endif

install: netbsd
	@if [ -f /${KERNEL} ]; then { \
	    mv /${KERNEL} /o${KERNEL}; \
	 } fi;
	@if [ "${COMPRESS}" ]; then { \
	     gzip netbsd; \
	 } fi;
	install -c -m 0540 -o root -g kmem ${KERNEL} /${KERNEL};


...or something along those lines.

				--*greywolf;
--
NetBSD: I Wanna Be Sedated!