From dd50d3f2abeaf5ae542e31243b1b46cda1f287d9 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 14 Jan 2004 04:16:27 +0000 Subject: [PATCH] More progress on indirect_iterator [SVN r21720] --- doc/GNUmakefile | 30 +++++++++---------- doc/facade-and-adaptor.html | 54 +++++++++++++++++++---------------- doc/indirect_iterator.html | 54 +++++++++++++++++++---------------- doc/indirect_iterator_ref.rst | 45 +++++++++++++++++------------ doc/new-iter-concepts.html | 1 - doc/permutation_iterator.html | 1 - doc/pointee.html | 1 - doc/scanrst.py | 29 +++++++++++++++++++ 8 files changed, 126 insertions(+), 89 deletions(-) create mode 100644 doc/scanrst.py diff --git a/doc/GNUmakefile b/doc/GNUmakefile index 0774517..f1f1a86 100755 --- a/doc/GNUmakefile +++ b/doc/GNUmakefile @@ -12,6 +12,7 @@ MV = /bin/mv EGREP = /bin/egrep ECHO = /bin/echo PERL = /usr/bin/perl +PYTHON = python CAT = /bin/cat TOUCH = /bin/touch ZIP = /usr/bin/zip @@ -48,7 +49,7 @@ PRINTZIP = prints.zip SLIDEZIP = slides.zip # ... Depend -DEPENDFILES = .depend .depend-rst +DEPENDFILES = .depend GENFILE = .generated # ... List of extensions and files generated @@ -211,26 +212,21 @@ clean: ${RMRF} ${generated} # ... Target: create dependencies -depend: .depend-rst +depend: .depend # ... Target: dependency file (parse TEXFILES for multiinclude and includegraphics) -.depend: GNUmakefile ${TEXFILES} - ${RMRF} $@ - @for t in ${TEXSTEMS} ; do \ - ${ECHO} "Scanning $$t.tex"; \ - ${PERL} -e 'my $$target = shift @ARGV;' -e 'while (<>) { /\\multiinclude(\[.*?\])?{(.*?)}/ && print "$$target: $$2.0\n";}' $$t.pdf < $$t.tex >> $@; \ - ${PERL} -e 'my $$target = shift @ARGV;' -e 'while (<>) { /\\includegraphics(\[.*?\])?{(.*?)\.(.*?)}/ && print "$$target: $$2.$$3\n";}' $$t.pdf < $$t.tex >> $@; \ - done +# .depend: GNUmakefile ${TEXFILES} +# ${RMRF} $@ +# @for t in ${TEXSTEMS} ; do \ +# ${ECHO} "Scanning $$t.tex"; \ +# ${PERL} -e 'my $$target = shift @ARGV;' -e 'while (<>) { /\\multiinclude(\[.*?\])?{(.*?)}/ && print "$$target: $$2.0\n";}' $$t.pdf < $$t.tex >> $@; \ +# ${PERL} -e 'my $$target = shift @ARGV;' -e 'while (<>) { /\\includegraphics(\[.*?\])?{(.*?)\.(.*?)}/ && print "$$target: $$2.$$3\n";}' $$t.pdf < $$t.tex >> $@; \ +# done -.depend-rst: GNUmakefile ${RSTFILES} +.depend: GNUmakefile ${RSTFILES} ${RMRF} $@ - @for t in ${RSTSTEMS} ; do \ - ${ECHO} "Scanning $$t.rst"; \ - ${PERL} -e 'my $$target = shift @ARGV;' -e 'while (<>) { /^\.\. (include|image)::\s+(.*)/ && print "$$target: $$2\n";}' $$t.html < $$t.rst >> $@; \ - ${PERL} -e 'my $$target = shift @ARGV;' -e 'while (<>) { /^\.\. (include|image)::\s+(.*)/ && print "$$target: $$2\n";}' $$t.tex < $$t.rst >> $@; \ - done - + ${PYTHON} scanrst.py ${RSTFILES} > $@ # ... include dependency files # -include .depend --include .depend-rst +-include .depend diff --git a/doc/facade-and-adaptor.html b/doc/facade-and-adaptor.html index 5728b08..f754bcf 100755 --- a/doc/facade-and-adaptor.html +++ b/doc/facade-and-adaptor.html @@ -1415,7 +1415,7 @@ else R is reference and V is value_type, and where: if CategoryOrTraversal is use_default, C is iterator_traversal<Iterator>::type and otherwise C is -CategoryOrTraversal:

+CategoryOrTraversal.