From: <go...@us...> - 2005-12-11 21:52:24
|
Author: goodger Date: 2005-12-11 22:52:20 +0100 (Sun, 11 Dec 2005) New Revision: 4170 Modified: trunk/docutils/docs/user/Makefile trunk/sandbox/infrastructure/docutils-update Log: automate S5/HTML rendering Modified: trunk/docutils/docs/user/Makefile =================================================================== --- trunk/docutils/docs/user/Makefile 2005-12-11 21:01:11 UTC (rev 4169) +++ trunk/docutils/docs/user/Makefile 2005-12-11 21:52:20 UTC (rev 4170) @@ -1,9 +1,14 @@ -all: slide-shows.html slide-shows-alt.html +all: slide-shows.s5.html slide-shows-alt.s5.html -slide-shows.html: slide-shows.txt - rst2s5.py slide-shows.txt slide-shows.html --config ../../docutils.conf \ +slide-shows.s5.html: slide-shows.txt + rst2s5.py slide-shows.txt slide-shows.html \ + --config ../../docutils.conf \ + --overwrite-theme-files \ --link-stylesheet -slide-shows-alt.html: slide-shows.txt - rst2s5.py slide-shows.txt slide-shows-alt.html --config ../../docutils.conf \ - --theme small-black --link-stylesheet +slide-shows-alt.s5.html: slide-shows.txt + rst2s5.py slide-shows.txt slide-shows-alt.html \ + --config ../../docutils.conf \ + --theme small-black \ + --overwrite-theme-files \ + --link-stylesheet Modified: trunk/sandbox/infrastructure/docutils-update =================================================================== --- trunk/sandbox/infrastructure/docutils-update 2005-12-11 21:01:11 UTC (rev 4169) +++ trunk/sandbox/infrastructure/docutils-update 2005-12-11 21:52:20 UTC (rev 4170) @@ -53,6 +53,7 @@ baseurl="http://docutils.sourceforge.net" export PYTHONPATH=$pylib:$lib:$lib/extras +export PATH=$lib/tools:$PATH trace=0 unconditional=0 @@ -159,6 +160,11 @@ set +o xtrace fi +for makefile in `find .. -name Makefile ; do + dir=`dirname $htmlfile` + ( cd $dir ; make ) +done + for htmlfile in `find .. -name '*.html'` ; do dir=`dirname $htmlfile` base=`basename $htmlfile .html` |