summaryrefslogtreecommitdiffstats
path: root/lib/libmytinfo/mkversion.c
blob: 9fbc12ea028217dd5fefc783effbcb53fcc2fdff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * mkversion.c
 *
 * By Ross Ridge
 * Public Domain
 * 92/02/01 07:30:09
 *
 * generates version.c
 *
 */

#define NOTLIB
#include "defs.h"

#include "version.h"

const char SCCSid[] = "@(#) mytinfo mkversion.c 3.2 92/02/01 public domain, By Ross Ridge";

int
main(argc, argv)
int argc;
char **argv; {
	puts("/*");
	puts(" * version.c ");
	puts(" *");
	puts(" * This file was generated automatically.");
	puts(" *");
	puts(" */");
	putchar('\n');

	printf("char _mytinfo_version[] = \"@(#) mytinfo: Release %d, Patchlevel %d (ache).\";\n",
	       RELEASE, PATCHLEVEL);

	return 0;
}
OpenPOWER on IntegriCloud