[jhbuild/pre-3-cleanup: 1/2] distcheck: use the configured Python interpreter



commit 9e596622882509ac8aa18c8e120127816828c648
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sun Sep 22 12:43:41 2019 +0200

    distcheck: use the configured Python interpreter
    
    So that distcheck uses python3 if we configure with python3

 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/Makefile.am b/Makefile.am
index 5b94c736..e0051c7c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,6 +54,9 @@ CLEANFILES = \
 MAINTAINERCLEANFILES = \
        jhbuild.desktop.in
 
+DISTCHECK_CONFIGURE_FLAGS = \
+       --with-python=$(PYTHON)
+
 install-exec-local:
        $(srcdir)/scripts/debian-python2-postinstall-hook.sh $(DESTDIR)$(bindir)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]