[Replicant] [vendor_replicant-scripts] [PATCH v2 2/6] replicant_prepare_patch.py: Makefile: create DESTDIR
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Mon Aug 7 17:15:19 UTC 2023
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 <GNUtoo at 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
More information about the Replicant
mailing list