VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-11-21 18:38:03 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-11-21 21:45:01 +0100
commit491fed3494ad5fc2e153f415bdf1f9a17503d5d4 (patch)
tree684023b87f439ac21008c97e18f3404b29fc52e4
parent5f5b8a15fcd99b8e46d83c21335f2c6955f8aeb8 (diff)
downloadVeraCrypt-491fed3494ad5fc2e153f415bdf1f9a17503d5d4.tar.gz
VeraCrypt-491fed3494ad5fc2e153f415bdf1f9a17503d5d4.zip
Linux/FreeBSD: Fix calling "make install" without specifying DESTDIR, which should work by installing into /usr
-rwxr-xr-xsrc/Main/Main.make4
1 files changed, 4 insertions, 0 deletions
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"