mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 05:49:27 +00:00
36 lines
588 B
C
36 lines
588 B
C
/*
|
|
* 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;
|
|
}
|