Home | History | Annotate | Line # | Download | only in inst
Makefile revision 1.4.4.1
      1  1.4.4.1  thorpej #	$NetBSD: Makefile,v 1.4.4.1 2002/01/10 19:43:13 thorpej 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.4.4.1  thorpej .include "../Makefile.buildboot"
     10  1.4.4.1  thorpej 
     11      1.1  thorpej install:
     12  1.4.4.1  thorpej 	${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
     13      1.1  thorpej 	    ${DESTDIR}${BINDIR}/rbootd
     14  1.4.4.1  thorpej 	${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
     15  1.4.4.1  thorpej 	    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