From d8e9d1084b0333c37c3174a3ab569bcbc70d57a3 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Wed, 20 Feb 2008 17:09:35 +0000 Subject: [PATCH] Makefile: ensure that the config directory is properly built, and that app-mappings doesn't get put in place of etc/. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@738 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 02522878..d9e4baa1 100644 --- a/core/Makefile +++ b/core/Makefile @@ -91,7 +91,9 @@ install-cfg: $(cfg-prefix)/$(cfg-dir) $(cfg-prefix)/$(cfg-dir)sems.conf; \ fi - $(INSTALL-CFG) etc/app_mapping.conf $(cfg-prefix)/$(cfg-dir)etc + # Make sure the destination exists and is a directory! + mkdir -p $(cfg-prefix)/$(cfg-dir)etc + $(INSTALL-CFG) etc/app_mapping.conf $(cfg-prefix)/$(cfg-dir)etc/ install-bin: $(bin-prefix)/$(bin-dir) $(INSTALL-TOUCH) $(bin-prefix)/$(bin-dir)$(NAME)