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
925 B

  1. --- a/Makefile.pre.in
  2. +++ b/Makefile.pre.in
  3. @@ -1391,6 +1391,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. @@ -1426,6 +1427,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. python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
  17. @ # Substitution happens here, as the completely-expanded BINDIR