Hello all, I am currently working on a project that that specifically is 
asking me to not use a Makefile to build all of the dependencies because 
there entire repo uses bazel to build files instead. For this reason I 
figured the easiest way to do this to start off would be to convert 
Sphinx's current MakeFile to command line inputs and just write this into a 
short python script. I have zero knowledge when it comes to MakeFiles to 
begin with, although the Sphinx MakeFile doesn't seem overly complicated 
just by looking at it. I was wondering if someone would be kind enough to 
help me out with converting this file to a few short commands I can run 
through the terminal.

# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS    =
SPHINXBUILD   = sphinx-build
SOURCEDIR     = .
BUILDDIR      = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)


Thank you very much in advance. Your solution will help me a ton!

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/7797fe99-cd7a-4476-9397-4e40911bbee5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to