File: generate-docs.sh

package info (click to toggle)
giza 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,352 kB
  • sloc: ansic: 13,252; sh: 4,205; f90: 3,003; lex: 437; perl: 330; makefile: 99
file content (25 lines) | stat: -rwxr-xr-x 628 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
destdir=../docs/documentation
./pgplot_status.pl > $destdir/pgplot-status.html;
./cpgplot_status.pl > $destdir/cpgplot-status.html;
./api.pl ../src/*.c;
mv api.html $destdir;
cd $destdir;
cat pgplot-header.html > pgplot.html
cat >> pgplot.html << EOF
 <div id="content">
    <h2><a name="libpgplot"></a>Current status (libpgplot):</h2>
EOF
cat pgplot-status.html >> pgplot.html
cat >> pgplot.html << EOF
</div>
EOF
cat >> pgplot.html << EOF
 <div id="content">
    <h2><a name="libcpgplot"></a>Current status (libcpgplot):</h2>
EOF
cat cpgplot-status.html >> pgplot.html
cat >> pgplot.html << EOF
</div>
</html>
EOF