bsd.confs.mk (290025) | bsd.confs.mk (290034) |
---|---|
1# $FreeBSD: head/share/mk/bsd.confs.mk 290025 2015-10-26 22:31:57Z bdrewery $ | 1# $FreeBSD: head/share/mk/bsd.confs.mk 290034 2015-10-27 01:29:38Z bdrewery $ |
2 3.if !target(__<bsd.init.mk>__) 4.error bsd.conf.mk cannot be included directly. 5.endif 6 7CONFGROUPS?= CONFS 8 9.if !target(buildconfig) --- 29 unchanged lines hidden (view full) --- 39.else 40${group}NAME_${cnf:T}?= ${cnf:T} 41.endif 42STAGE_AS_SETS+= ${cnf:T} 43STAGE_AS_${cnf:T}= ${${group}NAME_${cnf:T}} 44# XXX {group}OWN,GRP,MODE 45STAGE_DIR.${cnf:T}= ${STAGE_OBJTOP}${${group}DIR_${cnf:T}} 46stage_as.${cnf:T}: ${cnf} | 2 3.if !target(__<bsd.init.mk>__) 4.error bsd.conf.mk cannot be included directly. 5.endif 6 7CONFGROUPS?= CONFS 8 9.if !target(buildconfig) --- 29 unchanged lines hidden (view full) --- 39.else 40${group}NAME_${cnf:T}?= ${cnf:T} 41.endif 42STAGE_AS_SETS+= ${cnf:T} 43STAGE_AS_${cnf:T}= ${${group}NAME_${cnf:T}} 44# XXX {group}OWN,GRP,MODE 45STAGE_DIR.${cnf:T}= ${STAGE_OBJTOP}${${group}DIR_${cnf:T}} 46stage_as.${cnf:T}: ${cnf} |
47stage_config: stage_as.${cnf:T} | |
48 49installconfig: _${group}INS_${cnf:T} 50_${group}INS_${cnf:T}: ${cnf} 51 ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ 52 -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ 53 ${.ALLSRC} \ 54 ${DESTDIR}${${group}DIR_${.ALLSRC:T}}/${${group}NAME_${.ALLSRC:T}} 55.else 56_${group}CONFS+= ${cnf} 57.endif 58.endfor 59.if !empty(_${group}CONFS) 60stage_files.${group}: ${_${group}CONFS} | 47 48installconfig: _${group}INS_${cnf:T} 49_${group}INS_${cnf:T}: ${cnf} 50 ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ 51 -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ 52 ${.ALLSRC} \ 53 ${DESTDIR}${${group}DIR_${.ALLSRC:T}}/${${group}NAME_${.ALLSRC:T}} 54.else 55_${group}CONFS+= ${cnf} 56.endif 57.endfor 58.if !empty(_${group}CONFS) 59stage_files.${group}: ${_${group}CONFS} |
61stage_config: stage_files.${group} | |
62 63installconfig: _${group}INS 64_${group}INS: ${_${group}CONFS} 65.if defined(${group}NAME) 66 ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ 67 ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} 68.else 69 ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ 70 ${.ALLSRC} ${DESTDIR}${${group}DIR}/ 71.endif 72.endif 73 74.endif # defined(${group}) && !empty(${group}) 75.endfor 76 77.endif # !target(installconfig) 78 | 60 61installconfig: _${group}INS 62_${group}INS: ${_${group}CONFS} 63.if defined(${group}NAME) 64 ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ 65 ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} 66.else 67 ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ 68 ${.ALLSRC} ${DESTDIR}${${group}DIR}/ 69.endif 70.endif 71 72.endif # defined(${group}) && !empty(${group}) 73.endfor 74 75.endif # !target(installconfig) 76 |
79.if ${MK_STAGING} != "no" && !defined(_SKIP_BUILD) 80.if !defined(NO_STAGE_CONFIG) 81STAGE_TARGETS+= stage_config | 77.if ${MK_STAGING} != "no" 78.if !empty(STAGE_SETS) 79buildconfig: stage_files 80.if !empty(STAGE_AS_SETS) 81buildconfig: stage_as |
82.endif 83.endif | 82.endif 83.endif |
84.endif 85 |
|