Usually DESTDIR correspond to the directory holding /bin.

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@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

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to