Linux : Added missing 'mkdir' before installing in case $DESTDIR does not exist (#510)

This commit is contained in:
El Mostafa Idrassi 2019-10-04 20:26:25 +01:00 committed by Mounir IDRASSI
parent b6babc688d
commit 48ef6c3736

View File

@ -254,6 +254,7 @@ endif
install: prepare install: prepare
mkdir -p $(DESTDIR)
cp -R $(BASE_DIR)/Setup/Linux/usr $(DESTDIR)/ cp -R $(BASE_DIR)/Setup/Linux/usr $(DESTDIR)/
ifeq "$(TC_BUILD_CONFIG)" "Release" ifeq "$(TC_BUILD_CONFIG)" "Release"
@ -303,6 +304,7 @@ endif
install: prepare install: prepare
mkdir -p $(DESTDIR)
cp -R $(BASE_DIR)/Setup/FreeBSD/usr $(DESTDIR)/. cp -R $(BASE_DIR)/Setup/FreeBSD/usr $(DESTDIR)/.
ifeq "$(TC_BUILD_CONFIG)" "Release" ifeq "$(TC_BUILD_CONFIG)" "Release"