From c9ca39ce703c0bd4bb6c235cb5aa5c6e09f15f88 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 7 Dec 2017 14:44:26 -0600 Subject: [PATCH] Display rule activity in modules/Makefile --- modules/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/Makefile b/modules/Makefile index a4f5c8abe..cd782fe80 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -44,12 +44,15 @@ DIRS += $(subst /Makefile,,$(wildcard $(addsuffix /Makefile, $(SUBMODULES)))) include $(TOP)/configure/RULES_DIRS +INSTALL_LOCATION_ABS := $(abspath $(INSTALL_LOCATION)) +RELEASE_LOCAL := RELEASE.$(EPICS_HOST_ARCH).local + # Ensure that RELEASE..local exists before doing anything else all host $(DIRS) $(ARCHS) $(ACTIONS) $(dirActionTargets) $(dirArchTargets) \ - $(dirActionArchTargets) $(actionArchTargets): \ - | RELEASE.$(EPICS_HOST_ARCH).local + $(dirActionArchTargets) $(actionArchTargets): | $(RELEASE_LOCAL) -RELEASE.$(EPICS_HOST_ARCH).local: - @echo EPICS_BASE = $(abspath $(INSTALL_LOCATION))> $@ +$(RELEASE_LOCAL): + $(ECHO) Creating $@, EPICS_BASE = $(INSTALL_LOCATION_ABS) + @echo EPICS_BASE = $(INSTALL_LOCATION_ABS)> $@ realclean: - $(RM) RELEASE.$(EPICS_HOST_ARCH).local + $(RM) $(RELEASE_LOCAL)