… | |
… | |
5 | # Rights to this code are documented in doc/pod/license.pod. |
5 | # Rights to this code are documented in doc/pod/license.pod. |
6 | # |
6 | # |
7 | # This file generates version.C. |
7 | # This file generates version.C. |
8 | # Stolen from ircd-ratbox. |
8 | # Stolen from ircd-ratbox. |
9 | # |
9 | # |
10 | # $Id: version.sh,v 1.3 2007/08/28 17:08:12 pippijn Exp $ |
10 | # $Id: version.sh,v 1.4 2007/09/05 11:23:15 pippijn Exp $ |
11 | # |
11 | # |
12 | |
12 | |
13 | package=ermyth |
13 | package=ermyth |
14 | |
14 | |
15 | echo "Extracting $package/src/version.C..." |
15 | echo "Extracting $package/src/version.C..." |
… | |
… | |
32 | awk '{if (NF == 6) \ |
32 | awk '{if (NF == 6) \ |
33 | { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ |
33 | { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ |
34 | else \ |
34 | else \ |
35 | { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'` |
35 | { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'` |
36 | |
36 | |
37 | buildid=`echo "\$Revision: 1.3 $" | \ |
37 | buildid=`echo "\$Revision: 1.4 $" | \ |
38 | awk '{ print $2 }'`; |
38 | awk '{ print $2 }'`; |
39 | |
39 | |
40 | cat >version.C <<!SUB!THIS! |
40 | cat >version.C <<!SUB!THIS! |
41 | /* |
41 | /* |
42 | * Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team |
42 | * Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team |
43 | * Copyright © 2005-2007 Atheme Development Group |
43 | * Copyright © 2005-2007 Atheme Development Group |
44 | * Rights to this code are documented in doc/pod/gplicense.pod. |
44 | * Rights to this code are documented in doc/pod/license.pod. |
45 | * |
45 | * |
46 | * This file contains version information. |
46 | * This file contains version information. |
47 | * Autogenerated by version.sh. |
47 | * Autogenerated by version.sh. |
48 | */ |
48 | */ |
49 | |
49 | |