]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
'echo' is not guaranteed to understand \n. At leasts it does not on Linux.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 May 2001 21:04:29 +0000 (21:04 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 May 2001 21:04:29 +0000 (21:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@4730 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/Makefile.in

index 8e4aed9b00bf7378384069292118bc694296c315..a64f1d17f31fdad89c8466d4b88448aadde1513c 100644 (file)
@@ -52,35 +52,37 @@ class_index.html: $(shell echo $D/base/include/base/*.h \
                                $D/lac/include/lac/*.h   \
                                $D/deal.II/include/*/*.h) \
                   autogen-doc
-       @echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"\n\
-               "http://www.w3.org/TR/REC-html40/strict.dtd">\n   \
-               <html>\n\
-               <head>\n\
-               <link href="screen.css" rel="StyleSheet" title="deal.II Homepage" media="screen">\n\
-               <link href="print.css" rel="StyleSheet" title="deal.II Homepage" media="print">\n\
-               <title>The deal.II Homepage</title>\n\
-               <meta name="author" content="Wolfgang Bangerth <deal@iwr.uni-heidelberg.de>">\n\
-               <meta name="keywords" content="deal.II"></head>\n\
-               \n\
-               <body>\n\n' > $@ 
+       @(echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"' ; \
+          echo '"http://www.w3.org/TR/REC-html40/strict.dtd">' ;    \
+          echo '<html>' ; \
+          echo '<head>' ; \
+          echo '<link href="screen.css" rel="StyleSheet" title="deal.II Homepage" media="screen">' ; \
+          echo '<link href="print.css" rel="StyleSheet" title="deal.II Homepage" media="print">' ; \
+          echo '<title>The deal.II Homepage</title>' ; \
+          echo '<meta name="author" content="Wolfgang Bangerth <deal@iwr.uni-heidelberg.de>">' ; \
+          echo '<meta name="keywords" content="deal.II"></head>' ; \
+          echo '' ; \
+         echo '' ; \
+          echo '<body>'  \
+        ) > $@ 
        @echo "<h2>Class index for sub-libraries and their API references</h2>" \
              >> $@ 
-       @echo "This file contains a list of classes in the different sub-libraries.\n" \
-              "Use this file if you are looking for the documentation of a\n" \
-              " certain class and are unsure\n" \
-             "in which API documentation to find the corresponding reference.\n" \
-             "<p>" \
-             "This file is automatically generated, so please excuse the strange layout.\n" \
-             "Furthermore, please note that the script is not perfect, and even though it\n" \
-             "tries to identify the file corresponding to each class, it is not always\n" \
-             "able to do so, in particular in presence of nested classes or explicitely\n" \
-             "specialized templates, or if a class name appears more than once (e.g. as local\n" \
-             "classes in other classes). In this case, no link is presented with the name,\n" \
-             "but you can nevertheless get at the documentation of the class by clicking on\n" \
-             "the link leading to the top page for each sub-library; this link is at the top\n" \
-             "of each of the following sections.\n" \
-             >> $@ 
-       echo '<table>\n' >> $@ ;                                     \
+       @(echo "This file contains a list of classes in the different sub-libraries." ; \
+          echo "Use this file if you are looking for the documentation of a" ; \
+          echo " certain class and are unsure" ; \
+         echo "in which API documentation to find the corresponding reference." ; \
+         echo "<p>" ; \
+         echo "This file is automatically generated, so please excuse the strange layout." ; \
+         echo "Furthermore, please note that the script is not perfect, and even though it" ; \
+         echo "tries to identify the file corresponding to each class, it is not always" ; \
+         echo "able to do so, in particular in presence of nested classes or explicitely" ; \
+         echo "specialized templates, or if a class name appears more than once (e.g. as local" ; \
+         echo "classes in other classes). In this case, no link is presented with the name," ; \
+         echo "but you can nevertheless get at the documentation of the class by clicking on" ; \
+         echo "the link leading to the top page for each sub-library; this link is at the top" ; \
+         echo "of each of the following sections." \
+        ) >> $@ 
+       echo '<table>' >> $@ ;                                     \
        for dir in $D/base/include/base                              \
                    $D/lac/include/lac                                \
                    $(shell echo $D/deal.II/include/*);  do           \
@@ -94,13 +96,14 @@ class_index.html: $(shell echo $D/base/include/base/*.h \
            if test $$dirbasename = fe; then                         \
              dirbasename=dof;                                       \
            fi;                                                      \
-           echo "<tr><td align=\"center\" colspan=\"3\">\n   "      \
-                "<hr>\n"                                            \
-                "<h2><a href=\"auto/kdoc/$$dirbasename/index.html\""\
-                 " target=\"body\">"                                 \
-                 "$$dirbasename sub-library</a></h2>\n"              \
-                "</td>\n</tr>\n\n"                                  \
-              >> $@ ;                                               \
+           (echo "<tr><td align=\"center\" colspan=\"3\">" ;        \
+            echo "<hr>" ;                                            \
+            echo "<h2><a href=\"auto/kdoc/$$dirbasename/index.html\""\
+                  " target=\"body\">" ;                               \
+             echo "  $$dirbasename sub-library</a></h2>" ;            \
+            echo "</td></tr>" ;                                      \
+            echo ""                                                  \
+            )  >> $@ ;                                               \
            $(PERL) ../common/scripts/forward_declarations.pl             \
                    `echo $$dir/*.h |                                     \
                     $(PERL) -pi -e s'/[\w\/]*forward_declarations.h//g;'`\
@@ -139,15 +142,17 @@ class_index.html: $(shell echo $D/base/include/base/*.h \
                                }                                         \
                                print "  </tr>\n\n";'                     \
             >> $@ ;                                                      \
-           echo "\n\n" >> $@ ;                                           \
+           echo "" >> $@ ;                                               \
+           echo "" >> $@ ;                                               \
          fi                                                              \
        done
-       @echo "<tr><td align=\"center\" colspan=\"3\"> <hr> </td> </tr>\n"\
+       @echo "<tr><td align=\"center\" colspan=\"3\"> <hr> </td> </tr>"  \
               >> $@
-       @echo "</table>\n" >> $@
-       @echo "<p align=\"right\">\n"                                     \
-             "  Generated on `$(PERL) -e 'print scalar localtime;'` \n"    \
-             "</p>" >> $@
+       @echo "</table>" >> $@
+       @(echo "<p align=\"right\"> " ;                                   \
+         echo "  Generated on `$(PERL) -e 'print scalar localtime;'`" ;  \
+         echo "</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.