[Replicant] [vendor_replicant-scripts] [PATCH v2 3/6] replicant_prepare_patch.py: Makefile: fix DESTDIR

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon Aug 7 17:15:20 UTC 2023


Usually DESTDIR correspond to the directory holding /bin.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 patches/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/patches/Makefile b/patches/Makefile
index 1179215..7d2bac7 100644
--- a/patches/Makefile
+++ b/patches/Makefile
@@ -1,7 +1,7 @@
-DESTDIR ?= /usr/local/bin
+DESTDIR ?= /usr/local
 INSTALL ?= install
 
 .PHONY: install
 install:
-	$(INSTALL) -D $(DESTDIR)
-	$(INSTALL) -m 755 replicant_prepare_patch.py -t $(DESTDIR)
+	$(INSTALL) -D $(DESTDIR)/bin
+	$(INSTALL) -m 755 replicant_prepare_patch.py -t $(DESTDIR)/bin
-- 
2.41.0



More information about the Replicant mailing list