Changeset 388 for python/vendor/current/Doc/Makefile
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Doc/Makefile
r2 r388 35 35 @echo " suspicious to check for suspicious markup in output text" 36 36 @echo " check to run a check for frequent markup errors" 37 @echo " serve to serve the documentation on the localhost (8000)" 37 38 38 39 # Note: if you update versions here, do the same in make.bat and README.txt … … 40 41 @if [ ! -d tools/sphinx ]; then \ 41 42 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; \ 43 44 fi 44 45 @if [ ! -d tools/docutils ]; then \ … … 87 88 linkcheck: BUILDER = linkcheck 88 89 linkcheck: 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" \ 90 91 "or in build/$(BUILDER)/output.txt" 91 92 92 93 suspicious: BUILDER = suspicious 93 94 suspicious: 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." 96 98 97 99 coverage: BUILDER = coverage … … 101 103 doctest: BUILDER = doctest 102 104 doctest: 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" \ 104 106 "results in build/doctest/output.txt" 105 107 106 108 pydoc-topics: BUILDER = pydoc-topics 107 109 pydoc-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" 110 112 111 113 htmlview: html … … 120 122 121 123 dist: 122 -rm -rf dist124 rm -rf dist 123 125 mkdir -p dist 124 126 … … 140 142 rm -r dist/python-$(DISTVERSION)-docs-text 141 143 rm dist/python-$(DISTVERSION)-docs-text.tar 142 144 143 145 # archive the A4 latex 144 -rm -rbuild/latex146 rm -rf build/latex 145 147 make latex PAPER=a4 148 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile 146 149 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) 147 150 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip … … 149 152 150 153 # archive the letter latex 151 rm -r build/latex154 rm -rf build/latex 152 155 make latex PAPER=letter 156 -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile 153 157 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) 154 158 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip … … 158 162 $(PYTHON) tools/rstlint.py -i tools 159 163 164 serve: 165 ../Tools/scripts/serve.py build/html 166 160 167 # Targets for daily automated doc build 161 168 … … 163 170 autobuild-dev: 164 171 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) 175 autobuild-html: 176 make html SPHINXOPTS='-A daily=1 -A versionswitcher=1' 166 177 167 178 # for stable releases: only build if not in pre-release stage (alpha, beta, rc) … … 172 183 esac 173 184 @make autobuild-dev 185
Note:
See TracChangeset
for help on using the changeset viewer.