@@ -34,20 +34,20 @@ COMPRESSED_MAN := $(subst .1,.1.gz,$(UNCOMPRESSED_MAN))
34
34
PAPEROPT_a4 = -D latex_paper_size=a4
35
35
PAPEROPT_letter = -D latex_paper_size=letter
36
36
ALLSPHINXOPTS = -q -d $(BUILDDIR ) /doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) source
37
- ASPIRATIONALOPTS = -d $(BUILDDIR ) /aspiration-doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) aspiration
37
+ ASPIRATIONALOPTS = -q - d $(BUILDDIR ) /aspiration-doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) aspiration
38
38
39
39
.PHONY : publish help clean push-dc1 push-dc2
40
40
41
41
help :
42
42
@echo " Please use \` make <target>' where <target> is one of"
43
- @echo " html to make standalone HTML files"
44
- @echo " dirhtml to make HTML files named index.html in directories"
45
- @echo " singlehtml to make a single large HTML file"
46
- @echo " epub to make an epub"
47
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
48
- @echo " man to make manual pages"
49
- @echo " changes to make an overview of all changed/added/deprecated items"
50
- @echo " linkcheck to check all external links for integrity"
43
+ @echo " html to make standalone HTML files"
44
+ @echo " dirhtml to make HTML files named index.html in directories"
45
+ @echo " singlehtml to make a single large HTML file"
46
+ @echo " epub to make an epub"
47
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
48
+ @echo " man to make manual pages"
49
+ @echo " changes to make an overview of all changed/added/deprecated items"
50
+ @echo " linkcheck to check all external links for integrity"
51
51
@echo
52
52
@echo " MongoDB Manual Specific Targets."
53
53
@echo " publish runs publication process and then deploys the build to $( publication-output) "
@@ -195,11 +195,11 @@ latex:
195
195
# #####################################################################
196
196
197
197
.PHONY : aspirational aspiration draft
198
- aspiration :aspirational
199
- draft : aspirational
200
- aspirational :
198
+ aspiration :draft
199
+ aspirational :draft
200
+ draft :
201
201
$(SPHINXBUILD ) -b html $(ASPIRATIONALOPTS ) $(BUILDDIR ) /aspirational
202
- @echo " Aspirational HTML Build Complete ."
202
+ @echo " [DRAFT] HTML build finished ."
203
203
204
204
# #########################################################################
205
205
#
@@ -234,10 +234,11 @@ doctest:
234
234
235
235
LATEX_CORRECTION = "s/(index|bfcode)\{(.*!*)*--(.*)\}/\1\{\2-\{-\}\3\}/g"
236
236
237
+
237
238
$(BUILDDIR ) /latex/% .tex :
238
239
sed $(SED_ARGS ) -e $(LATEX_CORRECTION ) -e $(LATEX_CORRECTION ) $@
239
240
240
- pdfs :$(subst .tex,.pdf,$(wildcard $(BUILDDIR ) /latex/* .tex) )
241
+ pdfs :$(subst .tex,.pdf,$(wildcard $(BUILDDIR ) /latex/* .tex) )
241
242
242
243
PDFLATEXCOMMAND = TEXINPUTS=".:$(BUILDDIR ) /latex/:" pdflatex --interaction batchmode --output-directory $(BUILDDIR ) /latex/
243
244
% .pdf :% .tex
0 commit comments