Home | History | Annotate | Line # | Download | only in inst
Makefile revision 1.5.2.2
      1  1.5.2.2  nathanw #	$NetBSD: Makefile,v 1.5.2.2 2002/01/08 00:24:47 nathanw Exp $
      2  1.5.2.2  nathanw 
      3  1.5.2.2  nathanw PROGAOUT=	inst
      4  1.5.2.2  nathanw PROGSOURCE=	inst.c
      5  1.5.2.2  nathanw NEWVERSWHAT=	"Miniroot Installer"
      6  1.5.2.2  nathanw 
      7  1.5.2.2  nathanw CPPFLAGS+=	-DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
      8  1.5.2.2  nathanw 
      9  1.5.2.2  nathanw .include "../Makefile.buildboot"
     10  1.5.2.2  nathanw 
     11  1.5.2.2  nathanw install:
     12  1.5.2.2  nathanw 	${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
     13  1.5.2.2  nathanw 	    ${DESTDIR}${BINDIR}/rbootd
     14  1.5.2.2  nathanw 	${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
     15  1.5.2.2  nathanw 	    inst.lif ${DESTDIR}${BINDIR}/inst.lif
     16  1.5.2.2  nathanw 	rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST
     17  1.5.2.2  nathanw 	ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST
     18  1.5.2.2  nathanw 
     19  1.5.2.2  nathanw .ifndef RELEASEDIR
     20  1.5.2.2  nathanw release:
     21  1.5.2.2  nathanw 	@echo setenv RELEASEDIR first
     22  1.5.2.2  nathanw 	@false
     23  1.5.2.2  nathanw .else
     24  1.5.2.2  nathanw release: inst.lif
     25  1.5.2.2  nathanw 	mkdir -p $(RELEASEDIR)/installation/misc
     26  1.5.2.2  nathanw 	rm -f $(RELEASEDIR)/installation/misc/SYS_INST
     27  1.5.2.2  nathanw 	${INSTALL} ${COPY} -m 444 inst.lif \
     28  1.5.2.2  nathanw 	    $(RELEASEDIR)/installation/misc/SYS_INST
     29  1.5.2.2  nathanw .endif # RELEASEDIR check
     30  1.5.2.2  nathanw 
     31