diff --git a/src/Main/Main.make b/src/Main/Main.make index 37abaecb..2c11d361 100755 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -269,7 +269,9 @@ endif install: prepare +ifneq "$(DESTDIR)" "" mkdir -p $(DESTDIR) +endif cp -R $(BASE_DIR)/Setup/Linux/usr $(DESTDIR)/ ifeq "$(TC_BUILD_CONFIG)" "Release" @@ -321,7 +323,9 @@ endif install: prepare +ifneq "$(DESTDIR)" "" mkdir -p $(DESTDIR) +endif cp -R $(BASE_DIR)/Setup/FreeBSD/usr $(DESTDIR)/. ifeq "$(TC_BUILD_CONFIG)" "Release"