$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 \
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;'`\
} \
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>' >> $@