From 20aca3b36974166deec8a0a772dd32de5ddfb4b2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 8 Aug 2000 16:10:15 +0000 Subject: [PATCH] Sort the classes column wise rather than row wise, as this is better readable. git-svn-id: https://svn.dealii.org/trunk@3246 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/Makefile.in | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/deal.II/doc/Makefile.in b/deal.II/doc/Makefile.in index 32754076a0..47cc0a4e64 100644 --- a/deal.II/doc/Makefile.in +++ b/deal.II/doc/Makefile.in @@ -89,7 +89,7 @@ class_index.html: $(shell echo $D/base/include/base/*.h \ "

" \ "$$dirbasename sub-library

\n" \ - "\n\n" \ + "\n\n\n" \ >> $@ ; \ $(PERL) ../common/scripts/forward_declarations.pl \ `echo $$dir/*.h | \ @@ -100,17 +100,21 @@ class_index.html: $(shell echo $D/base/include/base/*.h \ | uniq \ | $(PERL) -pi -e 's/&/&/g; s//>/g;' \ | $(PERL) -pi -e 's/;\n/\n/g;' \ - | $(PERL) -e '$$i=0; while (<>) { \ - chop; \ - print " \n" if $$i==0; \ - print " $$_\n"; \ - $$i++; \ - if ($$i == 3) { \ - print " \n\n"; \ - $$i = 0; \ - } \ - } \ - if ($$i != 0) { print " \n\n"; }' \ + | $(PERL) -e ' @classes = (); \ + while (<>) { \ + chop; \ + @classes = (@classes, $$_); \ + } \ + print " \n"; \ + $$n_classes = $$#classes + 1; \ + for ($$col=0; $$col<3; $$col++) { \ + print " \n"; \ + for ($$i=0; $$i<$$n_classes/3; $$i++) { \ + print " $$classes[$$i+$$col*($$n_classes+1)/3]
\n";\ + } \ + print " \n"; \ + } \ + print " \n\n";' \ >> $@ ; \ echo "\n\n" >> $@ ; \ fi \ -- 2.39.5