How Do I Use Sphinxopts To Trigger The "only" Directive When Invoking Sphinx With A Makefile?
I am generating a PDF via Sphinx using the autogenerated Makefile. I usually generate it using: make latexpdf However, I am now including the only directive, so that some sections
Solution 1:
You need to modify the command a little (the variable assignment must come after make
). Either of these work for me (using GNU make):
make SPHINXOPTS="-t draft" latexpdf
or
make latexpdf SPHINXOPTS="-t draft"
Post a Comment for "How Do I Use Sphinxopts To Trigger The "only" Directive When Invoking Sphinx With A Makefile?"