using intermediate target instead of splitting up conf files generation

This commit is contained in:
cgzones 2016-12-04 14:18:21 +01:00
parent 4e199ae145
commit 1cda50620c
1 changed files with 8 additions and 9 deletions

View File

@ -391,13 +391,12 @@ $(net_contexts): $(moddir)/kernel/corenetwork.te.in
#
conf: $(mod_conf) $(booleans) generate
$(booleans): $(polxml)
@echo "Updating $(booleans)"
$(verbose) $(gendoc) -b $(booleans) -x $(polxml)
$(booleans) $(mod_conf): conf.intermediate
$(mod_conf): $(polxml)
@echo "Updating $(mod_conf)"
$(verbose) $(gendoc) -m $(mod_conf) -x $(polxml)
.INTERMEDIATE: conf.intermediate
conf.intermediate: $(polxml)
@echo "Updating $(booleans) and $(mod_conf)"
$(verbose) $(gendoc) -b $(booleans) -m $(mod_conf) -x $(polxml)
########################################
#