altos: Add -Wshadow to CFLAGS
[fw/altos] / doc / make-am-html
1 #!/bin/sh
2 cat << 'EOF'
3 <?xml version="1.0" encoding="utf-8"?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml">
7 <head>
8 <meta http-equiv="Content-Type" content=
9 "text/html; charset=utf-8" />
10 <title>Altus Metrum Documentation</title>
11 <link rel="stylesheet" type="text/css" href="am.css" />
12 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
13 </head>
14 <body>
15 <h1>Altus Metrum Documentation</h1>
16 EOF
17
18 for i in "$@"; do
19         echo '<p>'
20         grep '<title>' $i | head -1 | sed -e 's/.*<title>//' -e 's;</title>.*;;'
21         pdf=`basename "$i" .html`.pdf
22         echo '<a href="'$i'">html</a>'
23         echo '<a href="'$pdf'">pdf</a>'
24         echo '</p>'
25 done
26
27 cat << 'EOF'
28 </body>
29 </html>
30 EOF