]> jfr.im git - irc/evilnet/x3.git/blame - src/version.c.SH
testing again
[irc/evilnet/x3.git] / src / version.c.SH
CommitLineData
cc6339ac
MB
1#! /bin/sh
2
3echo "Extracting src/version.c ..."
4
5if test -f ../.release
6then
7 cvs_version=`cat ../.release`
8else
9 cvs_version=`hg tip --template '{rev}:{node|short} {date|shortdate}'`
10fi
11
12/bin/cat >version.c <<!SUB!THIS!
13/* version.c - CVS Version specific information.
14 * Copyright 2000-2004 srvx Development Team
15 *
16 * This file is part of x3.
17 *
18 * x3 is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation; either version 3 of the License, or
21 * (at your option) any later version.
22 *
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
27 *
28 * You should have received a copy of the GNU General Public License
29 * along with srvx; if not, write to the Free Software Foundation,
30 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
31 */
32
33#include "version.h"
34
35const char *cvs_version = "$cvs_version";
36
37!SUB!THIS!