Re: [sphinx-users] Compiling in different languages

2015-05-26 Thread Paolo Cavallini
Il 26/05/2015 10:28, Luc Saffre ha scritto: > You put it into your Makefile. It is your file. You can modify it. > That's what Makefiles are made for: to define series of complicated > commands to be run often. Changing the Syntax of the Sphinx builder > would cause an avalanche of protest from pe

Re: [sphinx-users] Compiling in different languages

2015-05-26 Thread Luc Saffre
On 26/05/15 11:10, Paolo Cavallini wrote: > > OK, I see. Is the SPHINXOPTS="-D part really unavoidable? > All the best, and thanks. You put it into your Makefile. It is your file. You can modify it. That's what Makefiles are made for: to define series of complicated commands to be run often. Chan

Re: [sphinx-users] Compiling in different languages

2015-05-26 Thread Paolo Cavallini
Il 26/05/2015 09:51, Takayuki Shimizukawa ha scritto: > Honestly, I'm not familiar to make idioms. > However, it doesn't work as we expected because "it" is recognized as > build target. > > For now, I have no idea how to achieve it. OK, I see. Is the SPHINXOPTS="-D part really unavoidable? All

Re: [sphinx-users] Compiling in different languages

2015-05-26 Thread Takayuki Shimizukawa
Hi, > ok, thanks - would it be difficult to alias this as, e.g. > make html it > ? Honestly, I'm not familiar to make idioms. However, it doesn't work as we expected because "it" is recognized as build target. For now, I have no idea how to achieve it. Regards, On Tue, May 26, 2015 at 4:44 PM

Re: [sphinx-users] Compiling in different languages

2015-05-26 Thread Paolo Cavallini
Il 26/05/2015 09:40, Takayuki Shimizukawa ha scritto: > make -e SPHINXOPTS="-D language='it'" html > make html SPHINXOPTS="-D language='it'" > > are still shortest way. ok, thanks - would it be difficult to alias this as, e.g. make html it ? All the best. -- Paolo Cavallini - www.faunalia.eu Q

Re: [sphinx-users] Compiling in different languages

2015-05-26 Thread Takayuki Shimizukawa
Hi, make -e SPHINXOPTS="-D language='it'" html make html SPHINXOPTS="-D language='it'" are still shortest way. On Tue, May 26, 2015 at 4:38 PM Paolo Cavallini wrote: > Hi all. > I'm (kinda) used to the old, ugly syntax: > > make -e SPHINXOPTS="-D language='it'" html > > to compile in a specif

[sphinx-users] Compiling in different languages

2015-05-26 Thread Paolo Cavallini
Hi all. I'm (kinda) used to the old, ugly syntax: make -e SPHINXOPTS="-D language='it'" html to compile in a specific language. I understand that current version allows a more straightforward syntax, but I could not find which. Could someone point it out? Thanks a lot. -- Paolo Cavallini - www.f