[Replicant] [vendor_replicant-scripts] [PATCH 3/6] replicant_prepare_patch.py: Makefile: fix DESTDIR
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Wed Aug 2 15:50:12 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 6fcea6a..5aa70e2 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