Index of /code/misc/docutils/cben/make

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]make2rst.py2009-02-17 06:17 1.5K 
[TXT]README.txt2009-02-17 06:17 1.0K 
[TXT]README.html2009-02-17 06:17 7.5K 
[TXT]Makefile.docutils.txt2009-02-17 06:17 18K 
[TXT]Makefile.docutils.html2009-02-17 06:17 30K 
[   ]Makefile.docutils2009-02-17 06:17 18K 
[   ]Makefile2009-02-17 06:17 246  

Makefile.docutils is a makefile that handles most things one would want to do with docutils. For minimal applications it can be used directly; typically you would include it in your makefiles, e.g.:

DOCS = foo.txt bar.txt

include Makefile.docutils

For quick jobs make DOCS=foo.txt\ bar.txt or just make (taking all *.txt files) will also work.

This makefile is very flexible and can be configured by setting many variables. It also supports pre/postprocessing, currently with sandbox/cben/rolehack scripts and rudimentary output-format-dependant adaptation of .* names with sed scripts.

The makefile is heavily commented and the comments themeselves are in reST (sort of literate programming). A script (make2rst.py) is provided that can convert the whole file to legal reST - run make in this directory to build the docs (make ps pdf would give you more formats).

Enjoy and tell me (cben@users.sf.net) if you miss any functionality or flexibility...