lib: removed virtual inheritance from some ALX parser classes
[barry.git] / doc / www / static.sh
blobba74cde29bc53e3b61392df49259475a0094e1dc
1 #!/bin/sh
3 if [ -z "$1" ] ; then
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
8 done
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
21 done
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
27 done