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