diff -r 80eb6eb57537 Makefile.pre.in --- a/Makefile.pre.in Sat Sep 03 11:01:53 2016 -0400 +++ b/Makefile.pre.in Sun Sep 04 01:55:27 2016 +0800 @@ -486,7 +486,7 @@ $(MAKE) all CFLAGS_NODIST="$(CFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LDFLAGS="$(LDFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LIBS="$(LIBS)" run_profile_task: - : # FIXME: can't run for a cross build +# FIXME: can't run for a cross build $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true build_all_merge_profile: @@ -510,7 +510,7 @@ --base-directory $(realpath $(abs_builddir)) \ --path $(realpath $(abs_srcdir)) \ --output-file $(COVERAGE_INFO) - : # remove 3rd party modules and system headers +# remove 3rd party modules and system headers @lcov --remove $(COVERAGE_INFO) \ '*/Modules/_ctypes/libffi*/*' \ '*/Modules/_decimal/libmpdec/*' \ @@ -527,15 +527,15 @@ @echo coverage-report: - : # force rebuilding of parser and importlib +# force rebuilding of parser and importlib @touch $(GRAMMAR_INPUT) @touch $(srcdir)/Lib/importlib/_bootstrap.py @touch $(srcdir)/Lib/importlib/_bootstrap_external.py - : # build with coverage info +# build with coverage info $(MAKE) coverage - : # run tests, ignore failures +# run tests, ignore failures $(TESTRUNNER) $(TESTOPTS) || true - : # build lcov report +# build lcov report $(MAKE) coverage-lcov # Run "Argument Clinic" over all source files @@ -560,8 +560,8 @@ # or removed in case of failure. pybuilddir.txt: $(BUILDPYTHON) @echo "none" > ./pybuilddir.txt - $(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars ;\ - if test $$? -ne 0 ; then \ + $(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars + @if test $$? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ @@ -1329,15 +1329,15 @@ cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh - # Substitution happens here, as the completely-expanded BINDIR - # is not available in configure +# Substitution happens here, as the completely-expanded BINDIR +# is not available in configure sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py - # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR} +# Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR} sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config - # On Darwin, always use the python version of the script, the shell - # version doesn't use the compiler customizations that are provided - # in python (_osx_support.py). - if test `uname -s` = Darwin; then \ +# On Darwin, always use the python version of the script, the shell +# version doesn't use the compiler customizations that are provided +# in python (_osx_support.py). + @if test `uname -s` = Darwin; then \ cp python-config.py python-config; \ fi