# $NetBSD: Makefile,v 1.4 2000/09/23 13:53:41 simonb Exp $ PROGAOUT= inst PROGSOURCE= inst.c NEWVERSWHAT= "Miniroot Installer" CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK install: ${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \ ${DESTDIR}${BINDIR}/rbootd ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 inst.lif \ ${DESTDIR}${BINDIR}/inst.lif rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST .ifndef RELEASEDIR release: @echo setenv RELEASEDIR first @false .else release: inst.lif mkdir -p $(RELEASEDIR)/installation/misc rm -f $(RELEASEDIR)/installation/misc/SYS_INST ${INSTALL} ${COPY} -m 444 inst.lif \ $(RELEASEDIR)/installation/misc/SYS_INST .endif # RELEASEDIR check .include "../Makefile.buildboot"