Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Doc/Makefile

    r2 r388  
    3535        @echo "  suspicious to check for suspicious markup in output text"
    3636        @echo "  check      to run a check for frequent markup errors"
     37        @echo "  serve      to serve the documentation on the localhost (8000)"
    3738
    3839# Note: if you update versions here, do the same in make.bat and README.txt
     
    4041        @if [ ! -d tools/sphinx ]; then \
    4142          echo "Checking out Sphinx..."; \
    42           svn checkout $(SVNROOT)/external/Sphinx-0.6.5/sphinx tools/sphinx; \
     43          svn checkout $(SVNROOT)/external/Sphinx-1.0.7/sphinx tools/sphinx; \
    4344        fi
    4445        @if [ ! -d tools/docutils ]; then \
     
    8788linkcheck: BUILDER = linkcheck
    8889linkcheck: build
    89         @echo "Link check complete; look for any errors in the above output " \
     90        @echo "Link check complete; look for any errors in the above output" \
    9091              "or in build/$(BUILDER)/output.txt"
    9192
    9293suspicious: BUILDER = suspicious
    9394suspicious: build
    94         @echo "Suspicious check complete; look for any errors in the above output " \
    95               "or in build/$(BUILDER)/suspicious.txt"
     95        @echo "Suspicious check complete; look for any errors in the above output" \
     96              "or in build/$(BUILDER)/suspicious.csv.  If all issues are false" \
     97              "positives, append that file to tools/sphinxext/susp-ignored.csv."
    9698
    9799coverage: BUILDER = coverage
     
    101103doctest: BUILDER = doctest
    102104doctest: build
    103         @echo "Testing of doctests in the sources finished, look at the " \
     105        @echo "Testing of doctests in the sources finished, look at the" \
    104106              "results in build/doctest/output.txt"
    105107
    106108pydoc-topics: BUILDER = pydoc-topics
    107109pydoc-topics: build
    108         @echo "Building finished; now copy build/pydoc-topics/pydoc_topics.py " \
    109               "into the Lib/ directory"
     110        @echo "Building finished; now copy build/pydoc-topics/topics.py" \
     111              "to Lib/pydoc_data/topics.py"
    110112
    111113htmlview: html
     
    120122
    121123dist:
    122         -rm -rf dist
     124        rm -rf dist
    123125        mkdir -p dist
    124126
     
    140142        rm -r dist/python-$(DISTVERSION)-docs-text
    141143        rm dist/python-$(DISTVERSION)-docs-text.tar
    142        
     144
    143145        # archive the A4 latex
    144         -rm -r build/latex
     146        rm -rf build/latex
    145147        make latex PAPER=a4
     148        -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
    146149        (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
    147150        cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
     
    149152
    150153        # archive the letter latex
    151         rm -r build/latex
     154        rm -rf build/latex
    152155        make latex PAPER=letter
     156        -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
    153157        (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
    154158        cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
     
    158162        $(PYTHON) tools/rstlint.py -i tools
    159163
     164serve:
     165        ../Tools/scripts/serve.py build/html
     166
    160167# Targets for daily automated doc build
    161168
     
    163170autobuild-dev:
    164171        make update
    165         make dist SPHINXOPTS='-A daily=1'
     172        make dist SPHINXOPTS='-A daily=1 -A versionswitcher=1'
     173
     174# for quick rebuilds (HTML only)
     175autobuild-html:
     176        make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
    166177
    167178# for stable releases: only build if not in pre-release stage (alpha, beta, rc)
     
    172183        esac
    173184        @make autobuild-dev
     185
Note: See TracChangeset for help on using the changeset viewer.