4 echo "Using Barry default web doc config..."
5 for f
in `cat content_list` ; do
6 echo "Generating $f.html"
7 cat prepend.php php_conf1.php
$f.php append.php | php
> $f.html
9 elif [ "$1" = "netdirect" ] ; then
10 echo "Using NetDirect web doc config..."
11 mkdir
-p www.netdirect.ca
/sites
/www.netdirect.ca
/files
/barry
/doxygen
12 mkdir
-p www.netdirect.ca
/sites
/www.netdirect.ca
/files
/images
/barry
13 cp *.png www.netdirect.ca
/sites
/www.netdirect.ca
/files
/images
/barry
15 mkdir
-p www.netdirect.ca
/pastefiles
17 echo "For index files..."
18 for f
in `cat content_list | grep index` ; do
19 echo "Generating $f.html"
20 cat php_conf2.php
$f.php | php
> www.netdirect.ca
/pastefiles
/$f.html
23 echo "For non-index files..."
24 for f
in `cat content_list | grep -v index` ; do
25 echo "Generating $f.html"
26 cat php_conf3.php
$f.php | php
> www.netdirect.ca
/pastefiles
/$f.html