aboutsummaryrefslogtreecommitdiffstats
path: root/make/otp_release_targets.mk
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-05-23 09:39:15 +0200
committerLukas Larsson <[email protected]>2018-05-23 09:39:15 +0200
commit6365a98f3a256adb62a05cc8644fa39b0aaf963f (patch)
tree47a5215ed5333e1715d2c0cab40dde861e2f4784 /make/otp_release_targets.mk
parent26acf6e6abd3112f2a984f85dc627594a214073b (diff)
downloadotp-6365a98f3a256adb62a05cc8644fa39b0aaf963f.tar.gz
otp-6365a98f3a256adb62a05cc8644fa39b0aaf963f.tar.bz2
otp-6365a98f3a256adb62a05cc8644fa39b0aaf963f.zip
make: Don't call mkdir with empty argument
Diffstat (limited to 'make/otp_release_targets.mk')
-rw-r--r--make/otp_release_targets.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/otp_release_targets.mk b/make/otp_release_targets.mk
index 779aaa1a1e..f57116569c 100644
--- a/make/otp_release_targets.mk
+++ b/make/otp_release_targets.mk
@@ -36,7 +36,9 @@ endif
# -------------------------------------------------------
# Take the XML files and add the github link info to them
# -------------------------------------------------------
+ifneq ($(strip $(XMLDIR)),)
_create_xml_dirs := $(shell mkdir -p $(XMLDIR))
+endif
XML_GEN_FILES+=$(patsubst %.xml,$(XMLDIR)/%.xml,$(XML_FILES))
$(XMLDIR)/%.xml: %.xml