Makefile
branchENGINE-261
changeset 2213 04052cc0c922
parent 2210 17c30881c885
child 2216 ef23982e4744
     1.1 --- a/Makefile	Thu Oct 26 16:11:04 2017 +0200
     1.2 +++ b/Makefile	Thu Oct 26 16:19:32 2017 +0200
     1.3 @@ -7,8 +7,20 @@
     1.4  
     1.5  include default.conf
     1.6  
     1.7 +ifneq ($(wildcard local.conf),)
     1.8 +    $(info ================================================)
     1.9 +    $(info Overrides in \`local.conf\` are used.)
    1.10 +    $(info ================================================)
    1.11 +endif
    1.12 +
    1.13 +ifdef BUILD_CONFIG
    1.14 +    $(info ================================================)
    1.15 +    $(info Overrides in \`$(BUILD_CONFIG)\` are used.)
    1.16 +    $(info ================================================)
    1.17 +endif
    1.18 +
    1.19  .PHONY: all
    1.20 -all: _override_info
    1.21 +all:
    1.22  	$(MAKE) -C asn.1 generate
    1.23  	$(MAKE) -C asn.1
    1.24  	$(MAKE) -C sync
    1.25 @@ -20,12 +32,12 @@
    1.26  	$(MAKE) -C asn.1 install
    1.27  
    1.28  .PHONY: uninstall
    1.29 -uninstall: _override_info
    1.30 +uninstall:
    1.31  	$(MAKE) -C src uninstall
    1.32  	$(MAKE) -C asn.1 uninstall
    1.33  
    1.34  .PHONY: clean
    1.35 -clean: _override_info
    1.36 +clean:
    1.37  	$(MAKE) -C src clean
    1.38  	$(MAKE) -C test clean
    1.39  	$(MAKE) -C db clean
    1.40 @@ -46,24 +58,5 @@
    1.41  	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
    1.42  
    1.43  .PHONY: db
    1.44 -db: _override_info
    1.45 +db:
    1.46  	$(MAKE) -C db db
    1.47 -
    1.48 -.PHONY: _override_info
    1.49 -_override_info: _local_conf_info _build_config_info
    1.50 -
    1.51 -.PHONY: _local_conf_info
    1.52 -_local_conf_info:
    1.53 -ifneq ($(wildcard local.conf),)
    1.54 -	@echo "================================================"
    1.55 -	@echo "Overrides in \`local.conf\` are used."
    1.56 -	@echo "================================================"
    1.57 -endif
    1.58 -
    1.59 -.PHONY: _build_config_info
    1.60 -_build_config_info:
    1.61 -ifdef BUILD_CONFIG
    1.62 -	@echo "================================================"
    1.63 -	@echo "Overrides in \`$(BUILD_CONFIG)\` are used."
    1.64 -	@echo "================================================"
    1.65 -endif