[CRIU] [PATCH] Don't embed $DESTDIR in install prefix

Takashi Iwai tiwai at suse.de
Mon Jun 1 07:05:28 PDT 2015


Passing both $DESTDIR and $PREFIX into --prefix option of crit install
results in the bogus $DESTDIR embedded in the installed object.
Instead, pass $DESTDIR to --root and $PREFIX to --prefix options,
respectively.

Signed-off-by: Takashi Iwai <tiwai at suse.de>

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile
+++ b/Makefile
@@ -314,7 +314,7 @@ install-man:
 
 install-crit: crit
 	$(E) "  INSTALL crit"
-	$(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX)
+	$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
 
 .PHONY: install install-man install-crit
 


More information about the CRIU mailing list