#!/bin/sh -- # -*- perl -*-
eval 'exec perl -S $0 "$@"'
    if 0;
########################## -*- Mode: Perl -*- ##########################
##
## File             : Conscript
##
## Description      : 
##
## Author           : Norbert Goevert
## Created On       : Tue Sep  3 16:49:55 1996
##
## Last Modified By : Norbert Goevert
## Last Modified On : Thu Dec 12 10:29:47 1996
##
## $State: Exp $
##
## $Id: Conscript,v 5.1.1.1 1996/12/23 12:45:33 goevert Exp goevert $
##
## $Log: Conscript,v $
## Revision 5.1.1.1  1996/12/23 12:45:33  goevert
## patch6:
##
## Revision 5.1  1996/11/05 16:53:17  goevert
## *** empty log message ***
##
## Revision 5.0.1.1  1996/11/04 13:05:53  goevert
## patch21: cons instead of MakeMaker
##
########################################################################


Import qw (CONS);

foreach (<*.in>) {
    $outfile = $_;
    $outfile =~ s/\.in$//; 
    Perl $CONS $outfile, $_, '#config.sh', 'main::replace';
}

foreach (<*.html.in>) {
    s/\.in$//; 
    Install $CONS $::CONFIG{REAL_DOCDIR}, $_;
}

Install $CONS $::CONFIG{REAL_DOCDIR}, 'SFgate.gif';
Install $CONS $::CONFIG{REAL_DOCDIR}, 'SFgate-small.gif';


## #####################################################################
## subs
## #####################################################################

