Skip to content

Fixed sphinx-build check in Makefile#4728

Merged
auvipy merged 1 commit intocelery:masterfrom
mgeens:fix-sphinx-check
May 11, 2018
Merged

Fixed sphinx-build check in Makefile#4728
auvipy merged 1 commit intocelery:masterfrom
mgeens:fix-sphinx-check

Conversation

@mgeens
Copy link
Copy Markdown
Contributor

@mgeens mgeens commented May 11, 2018

If sphinx-build is not installed, the Makefile returns the cryptic 'recipe commences before first target. Stop.' when building the docs. The cause is a tab resulting in a syntax error. This was a bug in the
Makefile generated by Sphinx, which has since been fixed: sphinx-doc/sphinx#2521

I've applied the same fix, which is removing the 'user-friendly' message. The resulting error message is 'sphinx-build: Command not found', which ought to be clear enough.

If sphinx-build is not installed, the Makefile returns the cryptic
'recipe commences before first target.  Stop.' when building the docs.
The cause is a tab resulting in a syntax error. This was a bug in the
Makefile generated by Sphinx, which has since been fixed:
sphinx-doc/sphinx#2521

I've applied the same fix, which is removing the 'user-friendly'
message. The resulting error message is 'sphinx-build: Command not
found', which ought to be clear enough.
@codecov
Copy link
Copy Markdown

codecov bot commented May 11, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@a11b09f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #4728   +/-   ##
=========================================
  Coverage          ?   82.77%           
=========================================
  Files             ?      140           
  Lines             ?    15927           
  Branches          ?     1995           
=========================================
  Hits              ?    13183           
  Misses            ?     2546           
  Partials          ?      198

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a11b09f...1f749ce. Read the comment docs.

@auvipy auvipy merged commit 4ed3f82 into celery:master May 11, 2018
@mgeens mgeens deleted the fix-sphinx-check branch May 11, 2018 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quickstart makefile error catch for "Command not found" not working correctly.

2 participants