#!/bin/sh # # Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team # Copyright © 2005-2006 Atheme Development Group # Rights to this code are documented in doc/pod/license.pod. # # This file generates version.C. # Stolen from ircd-ratbox. # # $Id: version.sh,v 1.6 2007/09/22 14:27:30 pippijn Exp $ # package=ermyth echo "Extracting $package/src/version.C..." if test -r version.C.last then generation=`sed -n 's/^char const generation\[\] = \"\(.*\)\";/\1/p' < version.C.last` if test ! "$generation" ; then generation=0; fi else generation=0 fi generation=`expr $generation + 1` uname=`uname` osinfo=`uname -a`; creation=`date | \ awk '{if (NF == 6) \ { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ else \ { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'` buildid=`echo "\$Revision: 1.6 $" | \ awk '{ print $2 }'`; cat >version.C <.", " ", "The authors can be reached via e-mail to ", " ", "Currently Ermyth's core group consists of the following developers,", "in nick-alphabetical order:", " pippijn, Pippijn van Steenhoven ", " ", "The following people have contributed blood, sweat and tears to", "this release:", " alambert, Alex Lambert ", " beu, Elfyn McBratney ", " Dianora, Diane Bruce ", " gxti, Michael Tharp ", " jilles, Jilles Tjoelker ", " kog, Greg Feigenson ", " kuja, Jeff Katz ", " lu_zero, Luca Barbato ", " nenolod, William Pitcock ", " pfish, Patrick Fish ", " terminal, Theo Julienne ", " Trystan, Trystan Scott Lee ", " w00t, Robin Burchell ", " zparta, Jens Holmqvist ", " ", "Visit our website at http://ermyth.xinutec.org/", 0, }; !SUB!THIS!