10 Feb 2012 20:12
Command line definitions
David Sankel <camior <at> gmail.com>
2012-02-10 19:12:27 GMT
2012-02-10 19:12:27 GMT
Hello Everyone,
I am attempting to create some rst documentation that is highly modularized. One repository will often pull in rst files from another repository, but the locations of these repositories relative to each-other is going to change based on how someone sets up their computer.
The way I'd usually set this up is with a local-config.mk Makefile with something like:
OTHERREPO_PATH = blahPYTHONSCRIPTS_PATH = C:/Python27/Scripts/
And then the Makefile will have:
With src/thisrepo.rst having something like:include local-config.mkall: build/thisrepo.htmlbuild/%.html : src/%.rstpython $(PYTHONSCRIPTS_PATH)/rst2html.py -DOTHERREPO_PATH=$(OTHERREPO_PATH) $< $ <at>
.. include:: $OTHERREPO_PATH/src/otherthing.rst
I put the mechanism I wish was there in bold font. Is there a canonical way to do what I'm looking for? Perhaps there is a way to add different path's to the <include> style?
Thanks in advance,
David
David Sankel
Sankel Software
www.sankelsoftware.com
585 617 4748 (Office)
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
RSS Feed