[Replicant] [vendor_replicant-scripts] [PATCH 2/6] replicant_prepare_patch.py: Makefile: create DESTDIR

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Wed Aug 2 15:50:11 UTC 2023


Some distributions like Guix work best when DESTDIR is created by the
software build system (here the Makefile).

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

diff --git a/patches/Makefile b/patches/Makefile
index 64a3f64..6fcea6a 100644
--- a/patches/Makefile
+++ b/patches/Makefile
@@ -3,4 +3,5 @@ INSTALL ?= install
 
 .PHONY: install
 install:
+	$(INSTALL) -d $(DESTDIR)
 	$(INSTALL) -m 755 replicant_prepare_patch.py -t $(DESTDIR)
-- 
2.41.0



More information about the Replicant mailing list