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

[Joonas Kylmälä]: Fixed bug that didn't preserve DESTDIR permissions.
Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 patches/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/patches/Makefile b/patches/Makefile
index 64a3f64..1179215 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

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

Reply via email to