Linux/FreeBSD: Fix calling "make install" without specifying DESTDIR, which should work by installing into /usr

This commit is contained in:
Mounir IDRASSI 2021-11-21 18:38:03 +01:00
parent 5f5b8a15fc
commit 491fed3494
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
1 changed files with 4 additions and 0 deletions

View File

@ -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"