Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/bsd.confs.mk
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
. endif | . endif | ||||
. if defined(${group}NAME) | . if defined(${group}NAME) | ||||
${group}NAME_${cnf}?= ${${group}NAME} | ${group}NAME_${cnf}?= ${${group}NAME} | ||||
. else | . else | ||||
${group}NAME_${cnf}?= ${cnf:T} | ${group}NAME_${cnf}?= ${cnf:T} | ||||
. endif # defined(${group}NAME) | . endif # defined(${group}NAME) | ||||
# Work around a bug with install(1) -C and /dev/null | |||||
. if ${cnf} == "/dev/null" | |||||
INSTALL_COPY= | |||||
. else | |||||
INSTALL_COPY= -C | |||||
. endif | |||||
STAGE_AS_SETS+= ${cnf:T} | STAGE_AS_SETS+= ${cnf:T} | ||||
STAGE_AS_${cnf:T}= ${${group}NAME_${cnf:T}} | STAGE_AS_${cnf:T}= ${${group}NAME_${cnf:T}} | ||||
# XXX {group}OWN,GRP,MODE | # XXX {group}OWN,GRP,MODE | ||||
STAGE_DIR.${cnf:T}= ${STAGE_OBJTOP}${${group}DIR_${cnf:T}} | STAGE_DIR.${cnf:T}= ${STAGE_OBJTOP}${${group}DIR_${cnf:T}} | ||||
stage_as.${cnf:T}: ${cnf} | stage_as.${cnf:T}: ${cnf} | ||||
realinstallconfig: installdirs-${_${group}DIR_${cnf}} _${group}INS_${cnf:T} | realinstallconfig: installdirs-${_${group}DIR_${cnf}} _${group}INS_${cnf:T} | ||||
_${group}INS_${cnf:T}: ${cnf} | _${group}INS_${cnf:T}: ${cnf} | ||||
${INSTALL} ${${group}TAG_ARGS} -C -o ${${group}OWN_${cnf}} \ | ${INSTALL} ${${group}TAG_ARGS} ${INSTALL_COPY} -o ${${group}OWN_${cnf}} \ | ||||
-g ${${group}GRP_${cnf}} -m ${${group}MODE_${cnf}} \ | -g ${${group}GRP_${cnf}} -m ${${group}MODE_${cnf}} \ | ||||
${.ALLSRC} ${${group}PREFIX_${cnf}}/${${group}NAME_${cnf}} | ${.ALLSRC} ${${group}PREFIX_${cnf}}/${${group}NAME_${cnf}} | ||||
. endfor # for cnf in ${${group}} | . endfor # for cnf in ${${group}} | ||||
. endif # defined(${group}) && !empty(${group}) | . endif # defined(${group}) && !empty(${group}) | ||||
. endfor | . endfor | ||||
Show All 12 Lines |