3 echo "Extracting ircd/version.c ..."
9 generation
=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c`
10 if test ! "$generation" ; then generation
=0; fi
15 generation
=`expr $generation + 1`
19 { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \
21 { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'`
23 /bin
/cat >version.c
<<!SUB
!THIS
!
25 * IRC
- Internet Relay Chat
, ircd
/version.c
26 * Copyright
(C
) 1990 Chelsea Ashley Dyerman
28 * This program is free software
; you can redistribute it and
/or modify
29 * it under the terms of the GNU General Public License as published by
30 * the Free Software Foundation
; either version
1, or
(at your option
)
33 * This program is distributed
in the hope that it will be useful
,
34 * but WITHOUT ANY WARRANTY
; without even the implied warranty of
35 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 * GNU General Public License
for more details.
38 * You should have received a copy of the GNU General Public License
39 * along with this program
; if not
, write to the Free Software
40 * Foundation
, Inc.
, 675 Mass Ave
, Cambridge
, MA
02139, USA.
44 * This
file is generated by version.c.SH. Any changes made will go away.
48 #include "patchlevel.h"
49 #include "patchlist.h"
51 const char
*generation
= "$generation";
52 const char
*creation
= "$creation";
53 const char
*version
= BASE_VERSION RELEASE PATCHLEVEL PATCHLIST
;
55 const char
*infotext
[] = {
57 "This program is free software; see LICENSE in the distribution",
59 "Based on the original code written by Jarkko Oikarinen, version 2.6:",
60 "Wiz Jarkko Oikarinen <jto@tolsun.oulu.fi>",
62 "The main developer of version u2.9 and u2.10 was:",
63 "Run Carlo Wood <carlo@runaway.xs4all.nl>",
65 "The head developer of the u2.10 source tree was:",
66 "Bleep Thomas Helvey <tomh@inxpress.net>",
68 "The current maintainors of the u2.10 source tree are:",
69 "Isomer Perry Lorier <perry@coders.net>",
70 "Kev Kevin Mitchell <klmitch@mit.edu>",
72 "Contributors to this release:",
73 "Kev, Isomer, Gte, Ghostwolf, Bleep",
74 "Debugging and support:",
75 "SeKs, Maniac-, HeKTik, OmniDynmc, Liandrin, Dianora",
76 "Special thanks to Angel and Buff for believing in us and putting"
77 "up with frantic late night phone calls"
79 "Thanks goes to all other people who contributed to any version.",
80 "A full listing of all coders can be found in doc/Authors in the",
86 for file in ${srcdir}/ircd
/*.c
; do
87 echo " \"[" `./umkpasswd -5 $file` " ]\"," >> version.c
90 echo " \"\"," >> version.c
91 echo " \"Headers:\"," >> version.c
93 for file in ${srcdir}/include
/*.h
; do
94 echo " \"[" `./umkpasswd -5 $file` " ]\"," >> version.c
97 /bin
/cat >>version.c
<<!SUB
!THIS
!