#! /bin/sh # # $Id: Xindex,v 10.25 2008/01/08 20:58:22 bostic Exp $ test -d $BDB_SRC -a -d $TARGET || { echo "Xindex: \$BDB_SRC or \$TARGET not set" exit 1 } # Build the HTML from the index. # $1 API Name # $2 API Directory name build() { echo '' echo '
' echo "\2<\/td> | \ \3<\/a>\4<\/td><\/tr>/' echo " |
Copyright (c) 1996,2008 Oracle. All rights reserved." echo "" echo "" } [ -f $TARGET/api_c/pindex.src ] && build C api_c > $TARGET/api_c/c_pindex.html [ -f $TARGET/api_cxx/pindex.src ] && build C++ api_cxx > $TARGET/api_cxx/cxx_pindex.html [ -f $TARGET/api_tcl/pindex.src ] && build Tcl api_tcl > $TARGET/api_tcl/tcl_pindex.html exit 0