mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
tweak STAGE_SETS
This commit is contained in:
parent
0649e98d2d
commit
b1eb0fa2de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=246864
@ -247,6 +247,7 @@ stage_files stage_as:
|
||||
.if ${MK_STAGING_PROG:Uno} != "no"
|
||||
STAGE_DIR.prog= ${STAGE_OBJTOP}${BINDIR}
|
||||
|
||||
.if !empty(PROG)
|
||||
.if defined(PROGNAME)
|
||||
STAGE_AS_SETS+= prog
|
||||
STAGE_AS_${PROG}= ${PROGNAME}
|
||||
@ -254,23 +255,24 @@ stage_as.prog: ${PROG}
|
||||
.else
|
||||
STAGE_SETS+= prog
|
||||
stage_files.prog: ${PROG}
|
||||
all: stage_files
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !empty(LINKS)
|
||||
all: stage_links
|
||||
STAGE_SETS+= prog
|
||||
STAGE_LINKS.prog= ${LINKS}
|
||||
.endif
|
||||
.if !empty(SYMLINKS)
|
||||
all: stage_symlinks
|
||||
STAGE_SETS+= prog
|
||||
STAGE_SYMLINKS.prog= ${SYMLINKS}
|
||||
.endif
|
||||
|
||||
.if !empty(STAGE_AS_SETS)
|
||||
all: stage_as
|
||||
.endif
|
||||
.if !empty(STAGE_SETS)
|
||||
all: stage_files
|
||||
.endif
|
||||
|
||||
.endif
|
||||
.include <meta.stage.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user