Fix generation of src.conf.5
Since makeman turns all options on, we need to guard somethings from make(showconfig)
This commit is contained in:
parent
b14a705362
commit
1c9b3241f2
4
Makefile
4
Makefile
@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
# Note: we use this awkward construct to be compatible with FreeBSD's
|
# Note: we use this awkward construct to be compatible with FreeBSD's
|
||||||
# old make used in 10.0 and 9.2 and earlier.
|
# old make used in 10.0 and 9.2 and earlier.
|
||||||
.if defined(MK_META_MODE) && ${MK_META_MODE} == "yes"
|
.if defined(MK_META_MODE) && ${MK_META_MODE} == "yes" && !make(showconfig)
|
||||||
# targets/Makefile plays the role of top-level
|
# targets/Makefile plays the role of top-level
|
||||||
.include "targets/Makefile"
|
.include "targets/Makefile"
|
||||||
.else
|
.else
|
||||||
@ -538,7 +538,9 @@ MK_META_MODE= no
|
|||||||
MK_STAGING= no
|
MK_STAGING= no
|
||||||
# tell meta.autodep.mk to not even think about updating anything.
|
# tell meta.autodep.mk to not even think about updating anything.
|
||||||
UPDATE_DEPENDFILE= NO
|
UPDATE_DEPENDFILE= NO
|
||||||
|
.if !make(showconfig)
|
||||||
.export MK_META_MODE MK_STAGING UPDATE_DEPENDFILE
|
.export MK_META_MODE MK_STAGING UPDATE_DEPENDFILE
|
||||||
|
.endif
|
||||||
|
|
||||||
.if make(universe)
|
.if make(universe)
|
||||||
# we do not want a failure of one branch abort all.
|
# we do not want a failure of one branch abort all.
|
||||||
|
Loading…
Reference in New Issue
Block a user