#!/bin/sh
#------------------------->  Bourne shell - script  <-------------------------#
#- Copyright (C) 199x by International Computer Science Institute            -#
#- This file is part of the GNU Sather package. It is free software; you may -#
#- redistribute  and/or modify it under the terms of the  GNU General Public -#
#- License (GPL)  as  published  by the  Free  Software  Foundation;  either -#
#- version 2 of the license, or (at your option) any later version.          -#
#- This  program  is distributed  in the  hope that it will  be  useful, but -#
#- WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY -#
#- or FITNESS FOR A PARTICULAR PURPOSE. See Doc/GPL for more details.        -#
#- The license text is also available from:  Free Software Foundation, Inc., -#
#- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                     -#
#------------->  Please email comments to <bug-sather@gnu.org>  <-------------#

# Usage gen_html_quick <mainmodule> <modifiedmodule>
#  re-Generate some html quickly by not generating all data

echo $1

echo "\n******************** WARNING ****************************"
echo "This process generates a huge number of files.  "
echo "Make sure you give it its own directory...."
echo "*********************************************************"
echo "Running non-interactive browser ..."
$SATHER_HOME/Bin/sabrowse -non_interactive $SATHER_HOME/Browser/Web/dump-pre-html-dot $1

echo "\n************************************************************"
echo "            GENERATING SHORT FLAT FILES (shortflat- )"
echo "(really slow - regular expressions make tcl crawl)"
echo "************************************************************"
$SATHER_HOME/Browser/Web/gen_html_shortflat $2
echo "\n************************************************************"
echo "            GENERATING HTMLIFIED SATHER FILES (lined-)"
echo "************************************************************"
$SATHER_HOME/Browser/Web/gen_html_sa_files
