Makefile revision 1.6
11.6Sgmcgarry# $NetBSD: Makefile,v 1.6 2001/12/14 07:36:32 gmcgarry Exp $ 21.1Sthorpej 31.1SthorpejPROGAOUT= inst 41.1SthorpejPROGSOURCE= inst.c 51.1SthorpejNEWVERSWHAT= "Miniroot Installer" 61.2Sthorpej 71.2SthorpejCPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK 81.1Sthorpej 91.6Sgmcgarry.include "../Makefile.buildboot" 101.6Sgmcgarry 111.1Sthorpejinstall: 121.5Sgmcgarry ${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \ 131.1Sthorpej ${DESTDIR}${BINDIR}/rbootd 141.5Sgmcgarry ${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \ 151.5Sgmcgarry inst.lif ${DESTDIR}${BINDIR}/inst.lif 161.1Sthorpej rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST 171.1Sthorpej ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST 181.3She 191.3She.ifndef RELEASEDIR 201.3Sherelease: 211.3She @echo setenv RELEASEDIR first 221.3She @false 231.3She.else 241.3Sherelease: inst.lif 251.3She mkdir -p $(RELEASEDIR)/installation/misc 261.3She rm -f $(RELEASEDIR)/installation/misc/SYS_INST 271.4Ssimonb ${INSTALL} ${COPY} -m 444 inst.lif \ 281.4Ssimonb $(RELEASEDIR)/installation/misc/SYS_INST 291.3She.endif # RELEASEDIR check 301.1Sthorpej 31