#!/bin/sh
#############################################################################
##
#W  maketoc            GAP 4 package `atlasrep'                 Thomas Breuer
##
#H  @(#)$Id: maketoc,v 1.17 2004/03/23 09:27:31 gap Exp $
##
#Y  Copyright (C)  2001,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
##
##  This script produces the file 'pkg/atlasrep/gap/atlasprm.g'
##  of {\GAP}~4 from the data on a remote server, and saves the previous
##  version of that file in 'pkg/atlasrep/gap/atlasprm.old'.
##
##  The script must be called from the directory 'pkg/atlasrep',
##  in the form `etc/maketoc <gap>' or `etc/maketoc <gap> -v'
##  or `etc/maketoc <gap> -v -test',
##  where <gap> must be a command to call {\GAP}~4,
##  and the options `-v' and `-test' mean verbose output and the execution
##  of some consistency checks, respectively.
##
$1 -q <<EOF
LoadPackage( "atlasrep" );
AtlasOfGroupRepresentationsToDoInMakeTOC( [ "$2", "$3$" ] );
quit;
EOF


#############################################################################
##
#E

