From: short <> Date: Sat, 4 Oct 2003 05:54:14 +0000 (+0000) Subject: +AutoGen X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=95b0ce648738c53958941eacd56c575cf0bfbdb2 +AutoGen --- diff --git a/configure.ac b/configure.ac index 2becdd2..b556395 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,7 @@ Makefile ./project/LaserGame/Makefile ./project/ShortRel/Makefile ./project/TraceFS/Makefile +./project/AutoGen/Makefile ]) echo done. diff --git a/project/AutoGen/Index.html.pl b/project/AutoGen/Index.html.pl new file mode 100755 index 0000000..b917eb0 --- /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; +use My::Project; +use project::AutoGen::ListItem; + + +My::Project->init_project( + "__PACKAGE__"=>__PACKAGE__, + "ListItem"=>\@project::AutoGen::ListItem::ListItem, + ); + +My::Web->footer(); diff --git a/project/AutoGen/ListItem.pm b/project/AutoGen/ListItem.pm new file mode 100755 index 0000000..3ba7acd --- /dev/null +++ b/project/AutoGen/ListItem.pm @@ -0,0 +1,67 @@ +#! /usr/bin/perl +# +# $Id$ +# Definition of 'My::Project::AutoGen' for list.cgi.pl +# 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::ListItem; +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; + +use My::Web; + + +our @ListItem=( + "name"=>"AutoGen autoautotools", + "priority"=>4, + "cvs"=>"macros", + "link-Documentation"=>$W->{"top_dir"}.'/project/Pod2Html.html.pl?cvs=macros/AutoGen.pm', + "link-Source file"=>$W->{"project_viewcvs"}."*checkout*/macros/AutoGen.pm?rev=HEAD", + "summary"=>"Another autogen.sh respecting CVS/.rpm/.deb", + "license"=>"GPL", + "maintenance"=>"active", + "language"=>"Perl", + "description"=><<"HERE", +

Projects usually have their autogen.sh script files to run +autoconf(1), automake(1) and similiar tools. +This project has some additional features:

+
    +
  • +

    Clean the checkout directory without Makefiles for + 'make clean'.

    +
  • +
  • +

    Maintain .cvsignore files containing the files being + cleaned.

    +
  • +
  • +

    Single-command package building of + .rpm/.deb out of CVS checkout.

    +
  • +
  • +

    Supports: gettext, glib-gettext, + libtool, autoconf, + automake.

    +
  • +
+HERE + ); + +1; diff --git a/project/AutoGen/Makefile.am b/project/AutoGen/Makefile.am new file mode 100644 index 0000000..a5a52c7 --- /dev/null +++ b/project/AutoGen/Makefile.am @@ -0,0 +1,23 @@ +# $Id$ +# automake source for the Makefile of project/AutoGen/ subdir +# 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 + + +include $(top_srcdir)/Makefile-head.am + +EXTRA_DIST+= \ + ListItem.pm \ + Index.html.pl diff --git a/project/Makefile.am b/project/Makefile.am index 92cec68..5f475a9 100644 --- a/project/Makefile.am +++ b/project/Makefile.am @@ -61,7 +61,8 @@ SUBDIRS= \ CasioA \ LaserGame \ ShortRel \ - TraceFS + TraceFS \ + AutoGen EXTRA_DIST+= \ Index.html.pl \