]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Write class index in columns.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Aug 2000 15:45:20 +0000 (15:45 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Aug 2000 15:45:20 +0000 (15:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@3244 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/Makefile.in

index fef0996f9a92f5623749d782914fd9c451296490..6b5e40a24d9e608e5d3b61df94e621e020ddda99 100644 (file)
@@ -70,6 +70,7 @@ class_index.html: $(shell echo $D/base/include/base/*.h \
              "<p>" \
              "This file is automatically generated, so please excuse the strange layout.\n" \
              >> $@ 
+       echo '<table>\n' >> $@ ;                                     \
        for dir in $D/base/include/base                              \
                    $D/lac/include/lac                                \
                    $(shell echo $D/deal.II/include/*);  do           \
@@ -83,10 +84,13 @@ class_index.html: $(shell echo $D/base/include/base/*.h \
            if test $$dirbasename = fe; then                         \
              dirbasename=dof;                                       \
            fi;                                                      \
-           echo "<h3><a href=\"auto/kdoc/$$dirbasename/index.html\""\
+           echo "<tr><td align=\"center\" colspan=\"3\">\n   "      \
+                "<hr>\n"                                            \
+                "<h2><a href=\"auto/kdoc/$$dirbasename/index.html\""\
                  " target=\"body\">"                                 \
-                 "$$dirbasename sub-library</a></h3>\n\n" >> $@ ;    \
-           echo '<dir>\n' >> $@ ;                                   \
+                 "$$dirbasename sub-library</a></h2>\n"              \
+                "</td></tr>\n\n"                                    \
+              >> $@ ;                                               \
            $(PERL) ../common/scripts/forward_declarations.pl             \
                    `echo $$dir/*.h |                                     \
                     $(PERL) -pi -e s'/[\w\/]*forward_declarations.h//g;'`\
@@ -95,11 +99,28 @@ class_index.html: $(shell echo $D/base/include/base/*.h \
               | sort                                                     \
               | uniq                                                     \
               | $(PERL) -pi -e 's/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g;'    \
-              | $(PERL) -pi -e 's/;\n/ <br> \n/g;'     >> $@ ;           \
+              | $(PERL) -pi -e 's/;\n/\n/g;'                             \
+              | $(PERL) -e '$$i=0; while (<>) {                          \
+                                       chop;                             \
+                                       print "  <tr>\n" if $$i==0;       \
+                                       print "    <td>$$_</td>\n";       \
+                                       $$i++;                            \
+                                       if ($$i == 3) {                   \
+                                         print "  </tr>\n\n";            \
+                                         $$i = 0;                        \
+                                       }                                 \
+                                  }                                      \
+                            if ($$i != 0) { print "  </tr>\n\n"; }'      \
+            >> $@ ;                                                      \
            echo "\n\n" >> $@ ;                                           \
-           echo "</dir>\n" >> $@ ;                                  \
-         fi                                                         \
+         fi                                                              \
        done
+       @echo "<tr><td align=\"center\" colspan=\"3\"> <hr> </td> </tr>\n"\
+              >> $@
+       @echo "</table>\n" >> $@
+       @echo "<p align=\"right\">\n"                                     \
+             "  Created on `perl -e 'print scalar localtime;'` \n"       \
+             "</p>" >> $@
        @echo '</body></html>' >> $@
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.