@@ -9,6 +9,7 @@ include bin/makefile.tables
9
9
10
10
# Build directory tweaking.
11
11
output = build
12
+ build-tools = bin
12
13
public-output = $(output ) /public
13
14
branch-output = $(output ) /$(current-branch )
14
15
public-branch-output = $(public-output ) /$(current-branch )
@@ -43,24 +44,22 @@ ALLSPHINXOPTS = -q -d $(branch-output)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPT
43
44
POSPHINXOPTS = -q -d $(branch-output ) /doctrees-gettext $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) source
44
45
DRAFTSPHINXOPTS = -q -d $(branch-output ) /draft-doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) draft
45
46
46
-
47
47
.PHONY : publish help clean push-dc1 push-dc2
48
-
49
48
help :
50
49
@echo " Please use \` make <target>' where <target> is one of"
51
- @echo " html to make standalone HTML files"
52
- @echo " dirhtml to make HTML files named index.html in directories"
53
- @echo " singlehtml to make a single large HTML file"
54
- @echo " epub to make an epub"
55
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
56
- @echo " man to make manual pages"
57
- @echo " changes to make an overview of all changed/added/deprecated items"
50
+ @echo " html to make standalone HTML files"
51
+ @echo " dirhtml to make HTML files named index.html in directories"
52
+ @echo " singlehtml to make a single large HTML file"
53
+ @echo " epub to make an epub"
54
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
55
+ @echo " man to make manual pages"
56
+ @echo " changes to make an overview of all changed/added/deprecated items"
58
57
@echo
59
58
@echo " MongoDB Manual Specific Targets."
60
- @echo " publish runs publication process and then deploys the build to $( public-output) "
61
- @echo " push runs publication process and pushes to docs site to production."
62
- @echo " draft builds a 'draft' build for pre-publication testing ."
63
- @echo " pdfs generates pdfs more efficently than latexpdf."
59
+ @echo " publish runs publication process and then deploys the build to $( public-output) "
60
+ @echo " push runs publication process and pushes to docs site to production."
61
+ @echo " draft builds a 'draft' build for pre-publication testing ."
62
+ @echo " pdfs generates pdfs more efficently than latexpdf."
64
63
@echo
65
64
@echo " See 'meta.build.rst' for more information."
66
65
@@ -219,8 +218,8 @@ $(public-branch-output)/single/search.html:$(branch-output)/dirhtml/search/index
219
218
$(public-branch-output ) /single/index.html :$(branch-output ) /singlehtml/contents.html
220
219
@cp $< $@
221
220
@sed $(SED_ARGS_FILE ) -e ' s/href="contents.html/href="index.html/g' \
222
- -e ' s/name="robots" content="index"/name="robots" content="noindex"/g' \
223
- -e ' s/(href=")genindex.html"/\1..\/genindex\/"/g' $@
221
+ -e ' s/name="robots" content="index"/name="robots" content="noindex"/g' \
222
+ -e ' s/(href=")genindex.html"/\1..\/genindex\/"/g' $@
224
223
@echo [single]: generating and processing ' $@' page
225
224
226
225
# Deployment related work for the non-Sphinx aspects of the build.
0 commit comments