Linux/FreeBSD: Fix calling "make install" without specifying DESTDIR, which should work by installing into /usr
This commit is contained in:
parent
5f5b8a15fc
commit
491fed3494
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue