From: Cherniavsky B. <cb...@us...> - 2004-04-27 20:28:55
|
Update of /cvsroot/docutils/sandbox/cben/make In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29249/make Modified Files: Makefile.docutils README.txt Log Message: Doc improvements. Index: Makefile.docutils =================================================================== RCS file: /cvsroot/docutils/sandbox/cben/make/Makefile.docutils,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.docutils 28 Feb 2004 21:56:15 -0000 1.4 +++ Makefile.docutils 27 Apr 2004 20:28:46 -0000 1.5 @@ -154,18 +154,18 @@ # sandbox/cben/rolehack math preprocessing hacks # .............................................. -# This makefile provides rules that support preprocessing by mathhack.py and -# imgmathhack.py. Set `ENABLE_MATHHACK` to 1 to run them before rst2html.py -# and rst2latex.py. +# This makefile provides rules that support preprocessing by +# `<../rolehack/mathhack.py>`_ and `<../rolehack/imgmathhack.py>`_. Set +# `ENABLE_MATHHACK` to 1 to run them before rst2html.py and rst2latex.py. $(docutils.)ENABLE_MATHHACK ?= 0 $(docutils.)MATHHACK.SRCEXT := $($(docutils.)RST2LATEX.SRCEXT) -$(docutils.)MATHHACK.TRGEXT ?= .txt.mathhack +$(docutils.)MATHHACK.TRGEXT ?= $($(docutils.)RST2LATEX.SRCEXT).mathhack # In theory, IMGMATHHACK is applicable to all tools. It's not very useful # with anything but RST2HTML, so that's the only one we attach to currently... $(docutils.)IMGMATHHACK.SRCEXT := $($(docutils.)RST2HTML.SRCEXT) -$(docutils.)IMGMATHHACK.TRGEXT ?= .txt.imgmathhack +$(docutils.)IMGMATHHACK.TRGEXT ?= $($(docutils.)RST2HTML.SRCEXT).imgmathhack ifeq "$($(docutils.)ENABLE_MATHHACK)" "1" $(docutils.)RST2LATEX.SRCEXT := $($(docutils.)MATHHACK.TRGEXT) Index: README.txt =================================================================== RCS file: /cvsroot/docutils/sandbox/cben/make/README.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- README.txt 28 Feb 2004 22:16:28 -0000 1.3 +++ README.txt 27 Apr 2004 20:28:46 -0000 1.4 @@ -6,6 +6,9 @@ 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 <../rolehack>`_ scripts and rudimentary |