summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7510138..82fc45f 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ MISC_FILES := README \
DESC="A tool to setup a variety of Alpine Linux Environmets"
install: $(SBIN_FILES)
- mkdir -p $(JSON_DIR)
+ $(eval $(call mkdir -p,$($(JSON_DIR))))
install -m 755 $(SBIN_FILES) $(SBIN_DIR)
sed -e 's:@CONFIG_DIR@:$(CONFIG_DIR):g' -i $(SBIN_DIR)/$(SBIN_FILES)
sed -e 's:@JSON_DIR@:$(JSON_DIR):g' -i $(SBIN_DIR)/$(SBIN_FILES)