xref: /freebsd/contrib/bmake/mk/final.mk (revision 2e3f49888ec8851bafb22011533217487764fdb0)
1# $Id: final.mk,v 1.10 2021/12/08 05:56:50 sjg Exp $
2
3.if !target(__${.PARSEFILE}__)
4__${.PARSEFILE}__: .NOTMAIN
5
6# provide a hook for folk who want to do scary stuff
7.-include <${.CURDIR:H}/Makefile-final.inc>
8
9.-include <local.final.mk>
10
11.if ${MK_STAGING} == "yes"
12.include <meta.stage.mk>
13.elif !empty(STAGE)
14.-include <stage.mk>
15.endif
16
17.if empty(_SKIP_BUILD)
18install: realinstall
19.endif
20realinstall:
21
22.endif
23