Skip to content

Commit c6757f2

Browse files
author
Sam Kleinman
committed
minor:build: makefile tweaks
1 parent 9d932d4 commit c6757f2

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

makefile

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ COMPRESSED_MAN := $(subst .1,.1.gz,$(UNCOMPRESSED_MAN))
3434
PAPEROPT_a4 = -D latex_paper_size=a4
3535
PAPEROPT_letter = -D latex_paper_size=letter
3636
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
3838

3939
.PHONY: publish help clean push-dc1 push-dc2
4040

4141
help:
4242
@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"
5151
@echo
5252
@echo "MongoDB Manual Specific Targets."
5353
@echo " publish runs publication process and then deploys the build to $(publication-output)"
@@ -195,11 +195,11 @@ latex:
195195
######################################################################
196196

197197
.PHONY: aspirational aspiration draft
198-
aspiration:aspirational
199-
draft:aspirational
200-
aspirational:
198+
aspiration:draft
199+
aspirational:draft
200+
draft:
201201
$(SPHINXBUILD) -b html $(ASPIRATIONALOPTS) $(BUILDDIR)/aspirational
202-
@echo "Aspirational HTML Build Complete."
202+
@echo "[DRAFT] HTML build finished."
203203

204204
##########################################################################
205205
#
@@ -234,10 +234,11 @@ doctest:
234234

235235
LATEX_CORRECTION = "s/(index|bfcode)\{(.*!*)*--(.*)\}/\1\{\2-\{-\}\3\}/g"
236236

237+
237238
$(BUILDDIR)/latex/%.tex:
238239
sed $(SED_ARGS) -e $(LATEX_CORRECTION) -e $(LATEX_CORRECTION) $@
239240

240-
pdfs:$(subst .tex,.pdf,$(wildcard $(BUILDDIR)/latex/*.tex))
241+
pdfs:$(subst .tex,.pdf,$(wildcard $(BUILDDIR)/latex/*.tex))
241242

242243
PDFLATEXCOMMAND = TEXINPUTS=".:$(BUILDDIR)/latex/:" pdflatex --interaction batchmode --output-directory $(BUILDDIR)/latex/
243244
%.pdf:%.tex

0 commit comments

Comments
 (0)