You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
903 B

  1. --- a/Makefile.pre.in
  2. +++ b/Makefile.pre.in
  3. @@ -1451,6 +1451,7 @@ libinstall: build_all $(srcdir)/Modules/
  4. $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py \
  5. $(DESTDIR)$(LIBDEST); \
  6. $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
  7. +ifeq (@COMPILE_ALL_TESTS@,yes)
  8. if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
  9. $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
  10. $(DESTDIR)$(LIBDEST)/distutils/tests ; \
  11. @@ -1486,6 +1487,7 @@ libinstall: build_all $(srcdir)/Modules/
  12. $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
  13. -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  14. $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
  15. +endif
  16. # bpo-21536: Misc/python-config.sh is generated in the build directory
  17. # from $(srcdir)Misc/python-config.sh.in.