#! /usr/bin/perl
# 
# $Id$
# Run to generate the initial Makefiles etc. after CVS checkout.
# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; exactly version 2 of June 1991 is required
# 
# 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 the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


require 5.6.0;	# at least 'use warnings;' but we need some 5.6.0+ modules anyway
our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
use strict;
use warnings;

use lib "./macros/";
use AutoGen;

use Carp qw(cluck confess);


die if $ENV{"SERVER_SOFTWARE"};	# SECURITY: CGI misuse!

AutoGen->run(
		"name"=>"www.jankratochvil.net",
		"COPYRIGHT_HOLDER"=>'Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>',
		"ARGV"=>\@ARGV,
		"clean"=>[qw(
				.xvpics
				./ChangeLog.bak
				./INSTALL
				./dia-w.sh
				./project/Nokia61/Nokia61
				./project/Nokia61/Nokia61_23.cache
				./project/line9k/line9k.png
				./project/line9k/line9k.gif
				./project/captive/doc/fig/*.png
				./project/captive/doc/fig/*.gif
				./project/captive/doc/dia/*.dia~
				./project/captive/doc/*.gif
				./project/captive/*.gif
				./project/PortDiag/*.gif
				./project/CasioA/*.gif
				./project/LaserGame/*.gif
				./project/Islet/*.gif
				./project/surprise/*.gif
				./My/*.gif
				./project/int13sniff/*.gif
				./resume/*.gif
				)],
		);
