From a26479680021219f9d4cd1bcff24983ccc187b30 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 24 Jul 2008 15:22:14 +0000 Subject: [PATCH] Allow decimal points in fullpath dir names preceeding last subdir name. --- configure/RULES_DIRS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure/RULES_DIRS b/configure/RULES_DIRS index 84ef16816..4d7c160f4 100644 --- a/configure/RULES_DIRS +++ b/configure/RULES_DIRS @@ -14,9 +14,10 @@ ARCHS += $(BUILD_ARCHS) ACTIONS += inc build install buildInstall clean realclean archclean runtests -dirPart = $(word 1, $(subst $(DIVIDER), ,$@)) -actionArchPart = $(join $(word 2, $(subst $(DIVIDER), ,$@)), \ - $(addprefix $(DIVIDER),$(word 3, $(subst $(DIVIDER), ,$@)))) +dirPart = $(join $(dir $@), $(word 1, $(subst $(DIVIDER), ,$(notdir $@)))) + +actionArchPart = $(join $(word 2, $(subst $(DIVIDER), ,$(notdir $@))), \ + $(addprefix $(DIVIDER),$(word 3, $(subst $(DIVIDER), ,$(notdir $@))))) dirActionArchTargets = $(foreach dir, $(DIRS), \ $(foreach action, $(ACTIONS),\