X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=project%2FAutoGen%2FIndex.html.pl;fp=project%2FAutoGen%2FIndex.html.pl;h=ffdf9b664cc74fd3b11999731c9a0febb3a9680e;hb=b4ddfba5b53a40e47285f8851e1ff7bb5419909b;hp=0000000000000000000000000000000000000000;hpb=d33b43a5557132098003a232b6c209abd3e4d135;p=www.jankratochvil.net.git diff --git a/project/AutoGen/Index.html.pl b/project/AutoGen/Index.html.pl new file mode 100755 index 0000000..ffdf9b6 --- /dev/null +++ b/project/AutoGen/Index.html.pl @@ -0,0 +1,39 @@ +#! /usr/bin/perl +# +# $Id$ +# Main page of 'My::Project::AutoGen' +# Copyright (C) 2003 Jan Kratochvil +# +# 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 + + +package project::AutoGen::Index; +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; }; +our $CVS_ID=q$Id$; +use strict; +use warnings; + +BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,)[0]]}; eval "use lib '$top_dir'"; close F; } +use My::Web; +Wuse 'My::Project'; +Wuse 'project::AutoGen::ListItem'; + + +My::Project->init_project( + "__PACKAGE__"=>__PACKAGE__, + "ListItem"=>\@project::AutoGen::ListItem::ListItem, + ); + +My::Web->footer();