From f872f92117684a280e9353c549227f3b3b6aec4e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 24 May 2001 21:04:29 +0000 Subject: [PATCH] 'echo' is not guaranteed to understand \n. At leasts it does not on Linux. git-svn-id: https://svn.dealii.org/trunk@4730 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/Makefile.in | 85 ++++++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/deal.II/doc/Makefile.in b/deal.II/doc/Makefile.in index 8e4aed9b00..a64f1d17f3 100644 --- a/deal.II/doc/Makefile.in +++ b/deal.II/doc/Makefile.in @@ -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 '\n \ - \n\ - \n\ - \n\ - \n\ - The deal.II Homepage\n\ - \n\ - \n\ - \n\ - \n\n' > $@ + @(echo '' ; \ + echo '' ; \ + echo '' ; \ + echo '' ; \ + echo '' ; \ + echo 'The deal.II Homepage' ; \ + echo '' ; \ + echo '' ; \ + echo '' ; \ + echo '' ; \ + echo '' \ + ) > $@ @echo "

Class index for sub-libraries and their API references

" \ >> $@ - @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" \ - "

" \ - "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 '\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 "

" ; \ + 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 '

' >> $@ ; \ 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 "\n\n\n" \ - >> $@ ; \ + (echo "" ; \ + 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 " \n\n";' \ >> $@ ; \ - echo "\n\n" >> $@ ; \ + echo "" >> $@ ; \ + echo "" >> $@ ; \ fi \ done - @echo "\n"\ + @echo "" \ >> $@ - @echo "
\n " \ - "
\n" \ - "

" \ - "$$dirbasename sub-library

\n" \ - "
" ; \ + echo "
" ; \ + echo "

" ; \ + echo " $$dirbasename sub-library

" ; \ + echo "


\n" >> $@ - @echo "

\n" \ - " Generated on `$(PERL) -e 'print scalar localtime;'` \n" \ - "

" >> $@ + @echo "" >> $@ + @(echo "

" ; \ + echo " Generated on `$(PERL) -e 'print scalar localtime;'`" ; \ + echo "

" \ + ) >> $@ @echo '' >> $@ -- 2.39.5