@@ -230,7 +230,7 @@ $(public-branch-output)/meta/410/index.html:$(branch-output)/dirhtml/meta/410/in
230
230
@echo [web]: processed error page ' $@'
231
231
232
232
233
- LINKS = $(public-branch-output ) /reference/reIndex $(public-branch-output ) /tutorials $(public-branch-output ) /reference/methods
233
+ LINKS = $(public-branch-output ) /reference/reIndex $(public-branch-output ) /tutorials $(public-branch-output ) /reference/methods
234
234
.PHONY : links $(LINKS )
235
235
links : $(LINKS )
236
236
@@ -257,30 +257,34 @@ clean-all:
257
257
258
258
.PHONY : html dirhtml singlehtml epub sitemap
259
259
html :
260
+
261
+ @echo [html]: build starting at `date`.
260
262
@mkdir -p $(branch-output)/html
261
- @echo [build ]: created $(branch-output ) /html
263
+ @echo [html ]: created $(branch-output)/html
262
264
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(branch-output)/html
263
- @echo [HTML ]: build complete.
265
+ @echo [html ]: build complete at `date` .
264
266
dirhtml :
267
+ @echo [dirhtml]: build starting at ` date` .
265
268
@mkdir -p $(branch-output ) /dirhtml
266
- @echo [build ]: created $(branch-output ) /dirhtml
269
+ @echo [dirhtml ]: created $(branch-output ) /dirhtml
267
270
$(SPHINXBUILD ) -b dirhtml $(ALLSPHINXOPTS ) $(branch-output ) /dirhtml
268
- @echo [DIR-HTML ]: build complete.
271
+ @echo [dirhtml ]: build complete at ` date ` .
269
272
singlehtml :
273
+ @echo [singlehtml]: build started at ` date` .
270
274
@mkdir -p $(branch-output ) /singlehtml
271
- @echo [build ]: created $(branch-output ) /singlehtml
275
+ @echo [singlehtml ]: created $(branch-output ) /singlehtml
272
276
$(SPHINXBUILD ) -b singlehtml $(ALLSPHINXOPTS ) $(branch-output ) /singlehtml
273
- @echo [SINGLE-HTML ]: build complete.
277
+ @echo [singlehtml ]: build complete at ` date ` .
274
278
275
279
epub-command = $(SPHINXBUILD ) -b epub $(ALLSPHINXOPTS ) $(branch-output ) /epub
276
280
epub-filter = sed $(SED_ARGS_REGEX ) -e '/^WARNING: unknown mimetype.*ignoring$$/d' -e '/^WARNING: search index.*incomplete.$$/d'
277
281
epub :
282
+ @echo [epub]: starting epub build at ` date` .
278
283
@mkdir -p $(branch-output ) /epub
279
- @echo [build]: created $(branch-output ) /epub
280
- @echo [EPUB]: starting epub build.
284
+ @echo [epub]: created $(branch-output ) /epub
281
285
@echo $(epub-command )
282
286
@{ $(epub-command ) 2>&1 1>&3 | $(epub-filter ) 1>&2 ; } 3>&1
283
- @echo [EPUB ]: Build complete.
287
+ @echo [epub ]: build complete at ` date ` .
284
288
285
289
# #####################################################################
286
290
#
@@ -299,11 +303,11 @@ $(branch-output)/sitemap.xml.gz:$(branch-output)/dirhtml
299
303
SITEMAPBUILD = $(PYTHONBIN ) bin/sitemap_gen.py
300
304
sitemap :$(branch-output ) /sitemap.xml.gz
301
305
$(branch-output ) /sitemap.xml.gz :$(public-output ) /manual
302
- @echo [SITEMAP ]: starting sitemap build at ` date` .
303
- @echo [SITEMAP ]: build time\: ` date` >> $(branch-output ) /sitemap-build.log
306
+ @echo [sitemap ]: starting sitemap build at ` date` .
307
+ @echo [sitemap ]: build time\: ` date` >> $(branch-output ) /sitemap-build.log
304
308
@$(SITEMAPBUILD ) --testing --config=conf-sitemap.xml 2>&1 >> $(branch-output ) /sitemap-build.log
305
309
@mv build/sitemap.xml.gz $@
306
- @echo [SITEMAP ]: sitemap built at ` date` .
310
+ @echo [sitemap ]: sitemap built at ` date` .
307
311
308
312
309
313
# #####################################################################
@@ -317,10 +321,11 @@ UNCOMPRESSED_MAN := $(wildcard $(branch-output)/man/*.1)
317
321
COMPRESSED_MAN := $(subst .1,.1.gz,$(UNCOMPRESSED_MAN ) )
318
322
319
323
man :
324
+ @echo [man]: starting man build at ` date` .
320
325
@mkdir -p $(branch-output ) /man
321
326
@echo [build]: created $(branch-output ) /man
322
327
$(SPHINXBUILD ) -b man $(ALLSPHINXOPTS ) $(branch-output ) /man
323
- @echo [MAN ]: build complete.
328
+ @echo [man ]: build complete at ` date ` .
324
329
325
330
# Targets to build compressed man pages.
326
331
build-man : man $(COMPRESSED_MAN )
@@ -338,15 +343,18 @@ $(branch-output)/man/%.1.gz: $(branch-output)/man/%.1
338
343
aspiration :draft
339
344
aspirational :draft
340
345
draft :
346
+ @echo [draft]: draft-html started at ` date` .
341
347
@mkdir -p $(branch-output ) /draft
342
- @echo [build ]: created $(branch-output ) /draft
348
+ @echo [draft ]: created $(branch-output ) /draft
343
349
$(SPHINXBUILD ) -b html $(DRAFTSPHINXOPTS ) $(branch-output ) /draft
344
- @echo [DRAFT ]: HTML build finished.
350
+ @echo [draft ]: draft-html build finished at ` date ` .
345
351
draft-latex :
352
+ @echo [draft]: draft-latex build started at ` date` .
346
353
@mkdir -p $(branch-output ) /draft-latex
347
- @echo [build ]: created $(branch-output ) /draft-latex
354
+ @echo [draft ]: created $(branch-output ) /draft-latex
348
355
$(SPHINXBUILD ) -b latex $(DRAFTSPHINXOPTS ) $(branch-output ) /draft-latex
349
- @echo [DRAFT]: LaTeX build finished.
356
+ @echo [draft]: draft-latex build finished at ` date` .
357
+
350
358
draft-pdf :$(subst .tex,.pdf,$(wildcard $(branch-output ) /draft-latex/* .tex) )
351
359
draft-pdfs :draft-latex draft-pdf
352
360
@@ -359,25 +367,29 @@ draft-pdfs:draft-latex draft-pdf
359
367
360
368
.PHONY : changes linkcheck json doctest
361
369
json :
370
+ @echo [json]: build started at ` date` .
362
371
@mkdir -p $(branch-output ) /json
363
- @echo [build ]: created $(branch-output ) /json
372
+ @echo [json ]: created $(branch-output ) /json
364
373
$(SPHINXBUILD ) -b json $(ALLSPHINXOPTS ) $(branch-output ) /json
365
- @echo [JSON ]: build finished.
374
+ @echo [json ]: build finished at ` date ` .
366
375
changes :
376
+ @echo [changes]: build started at ` date` .
367
377
@mkdir -p $(branch-output ) /changes
368
- @echo [build ]: created $(branch-output ) /changes
378
+ @echo [changes ]: created $(branch-output ) /changes
369
379
$(SPHINXBUILD ) -b changes $(ALLSPHINXOPTS ) $(branch-output ) /changes
370
- @echo [CHANGES ]: build finished.
380
+ @echo [changes ]: build finished at ` date ` .
371
381
linkcheck :
382
+ @echo [link]: build started at ` date` .
372
383
@mkdir -p $(branch-output ) /linkcheck
373
- @echo [build ]: created $(branch-output ) /linkcheck
384
+ @echo [link ]: created $(branch-output ) /linkcheck
374
385
$(SPHINXBUILD ) -b linkcheck $(ALLSPHINXOPTS ) $(branch-output ) /linkcheck
375
- @echo [LINK ]: Link check complete. See $(branch-output ) /linkcheck/output.txt.
386
+ @echo [link ]: Link check complete at ` date ` . See $(branch-output ) /linkcheck/output.txt.
376
387
doctest :
388
+ @echo [test]: build started at ` date` .
377
389
@mkdir -p $(branch-output ) /doctest
378
- @echo [build ]: created $(branch-output ) /doctest
390
+ @echo [test ]: created $(branch-output ) /doctest
379
391
$(SPHINXBUILD ) -b doctest $(ALLSPHINXOPTS ) $(branch-output ) /doctest
380
- @echo [TEST ]: doctest complete.
392
+ @echo [test ]: doctest complete at ` date ` .
381
393
382
394
# #####################################################################
383
395
#
@@ -388,33 +400,36 @@ doctest:
388
400
.PHONY :pdfs latex latexpdf
389
401
390
402
latex :
403
+ @echo [latex]: starting TeX file generation at ` date` .
391
404
@mkdir -p $(branch-output ) /latex
392
405
$(SPHINXBUILD ) -b latex $(ALLSPHINXOPTS ) $(branch-output ) /latex
393
- @echo [latex]: TeX file generated.
406
+ @echo [latex]: TeX file generated at ` date ` .
394
407
latexpdf :latex
395
408
$(MAKE ) -C $(branch-output ) /latex all-pdf
396
- @echo [PDF ]: build complete.
409
+ @echo [pdf ]: build complete.
397
410
398
411
LATEX_CORRECTION = "s/(index|bfcode)\{(.*!*)*--(.*)\}/\1\{\2-\{-\}\3\}/g"
399
412
400
413
$(branch-output ) /latex/% .tex :
401
414
@sed $(SED_ARGS_FILE ) -e $(LATEX_CORRECTION ) -e $(LATEX_CORRECTION ) $@
402
- @echo [build ]: fixing ' $@' TeX from the Sphinx output
415
+ @echo [latex ]: fixing ' $@' TeX from the Sphinx output
403
416
404
417
pdfs :$(subst .tex,.pdf,$(wildcard $(branch-output ) /latex/* .tex) )
405
418
406
419
PDFLATEXCOMMAND = TEXINPUTS=".:$(branch-output ) /latex/:" pdflatex --interaction batchmode --output-directory $(branch-output ) /latex/
407
420
408
421
% .pdf :% .tex
422
+ @echo [pdf]: pdf compilation started at ` date` .
409
423
@$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' > | $@ .log
410
- @echo [PDF ]: \( 1/4\) pdflatex $<
424
+ @echo [pdf ]: \( 1/4\) pdflatex $<
411
425
@-makeindex -s $(branch-output ) /latex/python.ist ' $(basename $<).idx' >> $@ .log 2>&1
412
- @echo [PDF ]: \( 2/4\) Indexing: $(basename $< ) .idx
426
+ @echo [pdf ]: \( 2/4\) Indexing: $(basename $< ) .idx
413
427
@$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $@ .log
414
- @echo [PDF ]: \( 3/4\) pdflatex $<
428
+ @echo [pdf ]: \( 3/4\) pdflatex $<
415
429
@$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $@ .log
416
- @echo [PDF]: \( 4/4\) pdflatex $<
417
- @echo [PDF]: see
' [email protected] ' for a full report of the pdf build process.
430
+ @echo [pdf]: \( 4/4\) pdflatex $<
431
+ @echo [pdf]: see
' [email protected] ' for a full report of the pdf build process.
432
+ @echo [pdf]: pdf compilation complete at ` date` .
418
433
419
434
# #########################################################################
420
435
#
0 commit comments