diff --git a/configure/modules/CONFIG b/configure/modules/CONFIG index 2e4bf28ae2b21e0e60f47b9cd684026afd1c8ed2..bd434649da5bb7376b09584806631a2122d02a0c 100644 --- a/configure/modules/CONFIG +++ b/configure/modules/CONFIG @@ -1,6 +1,11 @@ # -*- mode: Makefile;-*- include $(REQUIRE_CONFIG)/CONFIG_REQUIRE + +ifneq (,$(findstring local,$(MAKECMDGOALS))) +E3_MODULES_PATH=$(TOP)/localMods +endif + include $(REQUIRE_CONFIG)/CONFIG_E3_PATH include $(REQUIRE_CONFIG)/CONFIG_E3_MAKEFILE include $(REQUIRE_CONFIG)/CONFIG_EPICS diff --git a/configure/modules/RULES_E3 b/configure/modules/RULES_E3 index 4bc23e07f552bae095189c0e5aa2edad02098684..d5ec111300561ce868d758eee590fa01c024e281 100644 --- a/configure/modules/RULES_E3 +++ b/configure/modules/RULES_E3 @@ -37,6 +37,12 @@ uninstall: conf $(QUIET) $(SUDOBASH) '$(E3_MODULE_MAKE_CMDS) uninstall' $(SUDO) find $(E3_SITELIBS_PATH) -xtype l -delete +localinstall: install_module + +localuninstall: conf + $(QUIET) $(SUDOBASH) '$(E3_MODULE_MAKE_CMDS) uninstall' + $(SUDO) rm -rf $(E3_MODULES_PATH) + ## Build the EPICS Module : $(E3_MODULE_NAME) # Build always the Module with the EPICS_MODULES_TAG build: conf checkout vlibs